[antlr-interest] ANTLR3 - C Targert : Error handling

Boris Boucher boris.boucher at gmail.com
Tue May 29 01:49:57 PDT 2007


Hi,

I have a working lexer/parser using the C target and all is fine is I submit
a valid text to it.

But I can't figure out how to handle error.

Right now, if I submit invalide text (at the parser level), the parser
generate an error and print out some information, then continue parsing,
re-enter the error and crash.

Is there a mean to handle error ? Is it possible to order the parser to
continue or fail after an error ?

Boris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070529/9a1fda04/attachment.html 


More information about the antlr-interest mailing list