[antlr-interest] What if you want errors to exit the parser? (v3)
Robert Hill
rob.hill at blueyonder.co.uk
Mon Oct 30 13:26:45 PST 2006
Forgot this bit..
[snip]
>
> but, it tries to recover from token mismatches by insertion/
> deletion....do we need an option afterall to tell ANTLR to let errors
> cause exceptions in middle of alts?
>
> Ter
In my case it would be a bit neater, and I could see me wanting to catch
various exceptions on a per rule basis. The @rulecatch seems a bit like
using a chainsaw when a pen knife would do ;)
Cheers!
Rob
More information about the antlr-interest
mailing list