Loading ...
Sorry, an error occurred while loading the content.

2208QUESTION: Line number tracking

Expand Messages
  • m. ranganathan
    Aug 1, 2000
    • 0 Attachment

      I am writing a parser using antlr 2.1.1a4 and I would like to report
      line numbers on error messages. However, the parser always seems to
      report "error on line 0 ...." no matter where the error occurs. Is there
      something I need to do to enable correct line number tracking?

      Thank you in advance.