TypeCobol
TypeCobol copied to clipboard
EI Legacy: modify behavior of EI Legacy replacing syntax
EI Legacy replacing syntax does not work as expected. What needs to be changed:
- suffixing works on line as a whole
- it means that the whole line is not suffixed when adding all suffixes lead to an overflow
- suffixing is done on all tokens, not only data names
- when removing a 01, the whole line is commented out, meaning any data declaration that follow on the same line are removed too.
See ReplacingTokensLinesIterator
for currently implemented algorithm. Discuss whether the EI Legacy mechanism should be implemented on text lines or on tokens.