[antlr-interest] how to provide exception information in language execution?

Frank Du frank.du at riskmetrics.com
Tue Oct 6 12:21:28 PDT 2009

Dear All,

I wrote a parser and tree walker. When running the language, the following information helps diagnostics:

1.      What is the line number that throws out an exception?
2.      How to provide stack trace information?

Could someone show me how to construct such information, or point me to the relative documentation? Thank you so much! Have a nice day!

Best Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091006/f12de2ed/attachment.html 

More information about the antlr-interest mailing list