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

            Bug ID: 120501
           Summary: Error parsing ">>turn"
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: cobol
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rdubner at gcc dot gnu.org
  Target Milestone: ---

This program:

        program-id. parsing-bug.
        procedure division.
        display function exception-status
        >>turn ec-all checking on
        goback.

results in this error

    playpen.cbl:4:9: error: syntax error, unexpected '>'
        4 |         >>turn ec-all checking on
          |         ^
    cobol1: error: failed compiling playpen.cbl

Reply via email to