Closed efr15 closed 2 months ago
OCCURS
on REDEFINES
is forbidden. IBM compiler returns An"OCCURS"clause was found in the definition of a level-1 item. The"OCCURS"clause was discarded.
however our parser does not have this check (yet).
My bad the error is caused by the level of the OCCURS but OCCURS on REDEFINES of level > 1 seems to be allowed. Reopening and changing the source.
Describe the bug When a REDEFINES has an OCCURS clause the adjusted size for FILLER is not correct
To Reproduce
When applying the refactoring on this document, FILLER is inserted with size = 800.
Expected behavior Size should be 80 Warning: a FILLER can also have an OCCURS clause
Technical
AdjustFillerVisitor
should consider possible OCCURS when determining the adjusted size.How to test automatically LSR tests.