[antlr-interest] How can I abort parsing when the parser recognizes an input error?

Oti ohumbel at gmail.com
Tue Nov 27 15:11:37 PST 2007


See chapter 10.4 of the book.

best wishes,
Oti.

On Nov 21, 2007 9:38 AM,  <OJAY78 at gmx.de> wrote:
> Hi,
>
> I am trying to optimize the error reporting of my parser. The first thing which I want to change is that the parser should abort on every syntax error. Actually it recovers the wrong token and try to parse the rest, how can I change this?
>
> Thanks for your help
> --
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
>


More information about the antlr-interest mailing list