[antlr-interest] Why does it silently ignore invalid input?
mzukowski at yci.com
mzukowski at yci.com
Wed Jun 4 10:40:49 PDT 2003
Try turning off the default error handler with the option
{defaultErrorHandler=false;}
Monty
-----Original Message-----
From: Paul J. Lucas [mailto:dude at darkfigure.org]
Sent: Wednesday, June 04, 2003 9:32 AM
To: antlr-interest at yahoogroups.com
Subject: [antlr-interest] Why does it silently ignore invalid input?
I have a grammar with a second entry-point that I call. In my grammar,
"DECLARE" is
a keyword (must be upper-case). When the generated parser encounters
"declare"
(lower-case), it simply breaks out of the parse loop and returns. Why
doesn't it throw
an exception?
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list