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

QUESTION: Line number tracking

Expand Messages
  • m. ranganathan
    Hello! 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
    Message 1 of 1 , Aug 1, 2000
    • 0 Attachment
      Hello!

      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.

      Ranga.
    Your message has been successfully submitted and would be delivered to recipients shortly.