[antlr-interest] v3 - how to disable error recovery
Tamas Kerecsen
kerecsen at gmail.com
Sun Aug 13 22:36:41 PDT 2006
Terence,
Well, I spent a bit more time looking at it, and I fail to see a solution
other than taking the nextToken method out of the Lexer class, changing its
signature to throw RecognitionException and putting it into the lexer
template in java.stg, using @rulecatch to describe the catch block. Or at
least changing nextToken's throws signature in Lexer and using some sort of
new, overridable method to handle the exception.
Please, please, tell me I've missed an obvious, simple solution!
Thanks,
Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20060813/b0973723/attachment.html
More information about the antlr-interest
mailing list