[antlr-interest] Capturing lexer exceptions
Tamas Kerecsen
kerecsen at gmail.com
Wed Nov 1 21:31:47 PST 2006
Terence,
I complained about the same thing a couple of months ago. Unfortunately your
solution doesn't work because Java doesn't let you override the "throws"
clause in an overridden method. I would really appreciate if you could come
up with a convenient solution, though...
Thanks,
Tamas
I would subclass and override nextToken() to not catch the
> exceptions. That said, I posted email yesterday to which no one
> responded about how to deal with the error recovery that does inline
> insert/delete of tokens/chars. Not sure if we need an option or what.
>
> Ter
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20061101/fdad7526/attachment-0001.html
More information about the antlr-interest
mailing list