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

            Bug ID: 121346
           Summary: FR for dialect mf: support $DISPLAY
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: cobol
          Assignee: unassigned at gcc dot gnu.org
          Reporter: simonsobisch at gnu dot org
  Target Milestone: ---

If dialect mf is active, then $IF / $ELSE / $END are usable similar to >>IF /
>>ELSE / >>END-IF.

This FR is about also allowing $DISPLAY similar to the already supported
>>DISPLAY.

Current result of using the following snippet

      $IF LITTLE-ENDIAN DEFINED
      $DISPLAY "SETUP LITTLE-ENDIAN"
      $ELSE
      $DISPLAY "SETUP BIG-ENDIAN"
      $END

error: syntax error, unexpected invalid token, expecting IDENTIFICATION
DIVISION or PROGRAM-ID
    5 |       $DISPLAY "SETUP BIG-ENDIAN"
      |       ^

Reply via email to