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

            Bug ID: 120768
           Summary: cdf-includes: strange line numbers
           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.
      |            

* TEST.cob ends at line 1224, not 1227
* stored-char-length.cbl ends at line 16, not 128

Note: the *reported* error is not part of this issue, there's a different one
for that -> #120767.

Reply via email to