https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120787

--- Comment #2 from Simon Sobisch <simonsobisch at gnu dot org> ---
(In reply to James K. Lowden from comment #1)
> Can this not be resolved with 
>    >>COBOL-WORDS EQUATE DISPLAY WITH EXHIBIT

Plain EXHIBIT could, but EXHIBIT NAMED does not.

A force-included copybobok with REPLACE ==EXHIBIT NAMED== BY ==DISPLAY== would,
but that would likely increase parser time (not sure by how much) and while
compiling don't get the expected result - because it does not show the variable
names.

An implementation of EXHIBIT NAMED [var | "literal"]... can be
   DISPLAY ["var" var | "literal"]...
but that will only work with a parser change (those reserved words may only be
active depending on the -dialect).

For my test compilation the force-include REPLACE would work (I'll likely add
just the replace copy that will have a different effect, if it isn't
implemented yet, as there are less than 30 programs of my ~ 5700 affected)

Reply via email to