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

--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
BTW, should the source range be:

hello.cob:2:8: error: syntax error, unexpected NAME, expecting FUNCTION or
PROGRAM-ID
    2 |        porgram-id. hello.
      |        ^~~~~~~~~~

rather than:

hello.cob:2:8: error: syntax error, unexpected NAME, expecting FUNCTION or
PROGRAM-ID
    2 |        porgram-id. hello.
      |        ^~~~~~~~~~~

?  I think there might be an off-by-one in loc.last_column.

Reply via email to