[antlr-interest] Exiting on parser errors
Terence Parr
parrt at cs.usfca.edu
Mon May 23 10:51:06 PDT 2005
On May 23, 2005, at 2:59 AM, Greg Bedwell wrote:
>
> In simple terms, I just want to call exit(1) as soon as the first
> syntax error is detected by ANTLR and the error message is displayed.
Hi. THere is an option to turn off automatic error stuff. Then the
first exception thrown will blast out of the parser. :)
Ter
--
CS Professor & Grad Director, University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
More information about the antlr-interest
mailing list