Please read the C API and use list archive search. You just install a pointer 
to your own function for error handling.

http://antlr.markmail.org/search/?q=C%20error%20override


Generally a lexer should not be producing any errors.


Jim



> -----Original Message-----
> From: [email protected] [mailto:antlr-interest-
> [email protected]] On Behalf Of Andi Clemens
> Sent: Wednesday, April 07, 2010 8:42 AM
> To: [email protected]
> Subject: [antlr-interest] Error Handling in C target?
> 
> Hi,
> 
> I want to turn off all the warnings / errors coming from the lexer /
> parser.
> I found an option that seems to turn error handling off:
> 
> defaultErrorHandler = false;
> 
> but somehow this isn't working in ANTLR 3.1.x?
> 
> Is there an easy way to turn error handling off in C?
> In Java I would override some method I guess, but this is not possible
> for the C target, or am I wrong?
> 
> Andi
> 
> --
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> 
> 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