[antlr-interest] how to exit when first error is encountered?

harshada gune gune.harshada at gmail.com
Tue Sep 2 11:16:49 PDT 2008


Sorry, but I could not get the exact answer. I tried some techniques that
are mentioned, but still unable to exit on the first error. Can someone
specify the exact solution?

Thanks and regards,
Harshada.

On Thu, Aug 28, 2008 at 8:38 PM, Jim Idle <jimi at temporal-wave.com> wrote:

>  On Thu, 2008-08-28 at 13:18 +0530, harshada gune wrote:
>
> When I tried some erroneous input for some grammar that I have written, it
> is generating some error.(That is fine!!). But is there any way such that
> parser should exit (with error flashed)as soon as it sees the first error
> instead of evaluating next grammar rules?
>
>
> http://markmail.org/search/list:antlr?q=exit+first+error
>
>
>  List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080902/bb248360/attachment.html 


More information about the antlr-interest mailing list