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

            Bug ID: 120767
           Summary: cdf-includes: needs to work in any source format (use
                    of floating comment indicators
           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: ---

In file included from /tmp/TEST.cob:1227,
                 from
/opt/gcobol/bin/../share/cobol/udf/stored-char-length.cbl:128:
/opt/gcobol/bin/../share/cobol/udf/stored-char-length.cbl:1:86: error: syntax
error, unexpected '*', expecting IDENTIFICATION DIVISION or PROGRAM-ID
    1 |       *  This function is in public domain.
      |            

As the source format may be specified on the command line, the easiest option
is to use *> at column 7 (which is what I've did locally).

Note: the bad line numbers are part of a different issue.

Reply via email to