[antlr-interest] error message while recovering from token.

Philippe Faes ph_reader at faes.net
Sun Apr 6 05:45:10 PDT 2008


Dear ANTLR-hackers

I've noticed that the ANTLR runtime prints a lot of messages to the console.
Most of these messages can be avoided by properly overriding the methods of
a generated parser (methods such as displayRecognitionError).
The method recoverFromMismatchedToken, however prints an error message
("BR.recoverFromMismatchedToken") while also performing other operations,
hence it is inelegant to override this method just to get rid of the error
message.
Will this error message be gone in the next release?

kind regards
Philippe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080406/8d02abe8/attachment.html 


More information about the antlr-interest mailing list