Read the source code for displayRecognitionError() and read the API
documentation.

Jim

> -----Original Message-----
> From: [email protected] [mailto:antlr-interest-
> [email protected]] On Behalf Of J.R Karthikeyan
> Sent: Tuesday, August 24, 2010 3:00 PM
> To: [email protected]
> Subject: [antlr-interest] Error handling in C
> 
> Hi,
> 
>   I am looking to add error handling to the project. I saw the example in
> tutotial (5 min introduction) and other downloadable example. I don't find
> any example that tells how to do the error handling for C target. I need
to
> print the error message in console, like suppose the user miss the
semicolon
> I can say that "Expected ; found XXX ". Can anyone tell me where I can
find
> information about this or any good example.
> 
> Thanks a lot,
> Jrk
> 
> 
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to