QUESTION: Line number tracking
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.