[antlr-interest] v3 - how to disable error recovery

Terence Parr parrt at cs.usfca.edu
Mon Aug 14 11:09:50 PDT 2006


Override the lexer to alter nextToken I guess.  It normally tries to  
get another token.
Ter
On Aug 12, 2006, at 12:43 PM, Tamas Kerecsen wrote:

> Hi Everyone,
>
> Is there an easy way in v3 to completely disable error recovery?  
> I'd like to receive an exception on any lexer, parser or tree  
> walker issue and just bail out... v2 had an option that would allow  
> this, but I couldn't find the equivalent in v3 :(
>
> Thanks,
>   Tamas
>



More information about the antlr-interest mailing list