[antlr-interest] Antlr error reporting

Tom tbee at tbee.org
Fri Aug 7 06:46:38 PDT 2009


After finally having my grammar working I want to tune the error 
reporting. I found something with that intend at the bottom of this wiki 
page, but my parser does not even have a "setTreeAdaptor".

http://www.antlr.org/wiki/display/ANTLR3/Tree+construction

I did not find any setter on my parser that makes sense nor an 
addListener thingy. There must be some way to hook into the error output 
stream that is now set to System.err?

Tom


More information about the antlr-interest mailing list