TypeCobol icon indicating copy to clipboard operation
TypeCobol copied to clipboard

EI Legacy: modify behavior of EI Legacy replacing syntax

Open fm-117 opened this issue 1 year ago • 0 comments

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.

fm-117 avatar Aug 11 '23 08:08 fm-117