[antlr-interest] NoViableAltException.expecting ?

Sebastien Boving me at sebastienboving.com
Tue Nov 15 22:49:10 PST 2005


I searched the mailing list but noone seems to have asked for this so far,
yet i'm a newbie so it must be a stupid proposal... Basically i can't find
why, next to the unexpected token, NoViableAltException doesn't record what
it tried to match against (such as MismatchedTokenException.expecting does)?
This looks like it would be useful information to include for error
reporting or auto-completion features. Or are there other, better ways of
investigating the parser's state at the time of a RecognitionException?

thanks,
-seb.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20051115/6f101e80/attachment.html


More information about the antlr-interest mailing list