[antlr-interest] Exiting the Recognizer in C

Jim Idle jimi at temporal-wave.com
Thu May 8 17:25:10 PDT 2008


You do the same thing. Search for C and displayRecognitionError, you will find:

http://www.antlr.org/pipermail/antlr-interest/2007-December/025359.html

Jim


> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Jesse Anderson
> Sent: Thursday, May 08, 2008 3:56 PM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] Exiting the Recognizer in C
> 
> I have an ANTLR grammar written for C.  I want it to exit whenever an
> error is found.  I have found examples of this for Java.  You override
> mismatch and recoverFromMismatchedSet.  How do you do this for C?
> 
> Thanks.





More information about the antlr-interest mailing list