[antlr-interest] generating nice error messages

Gerard van de Glind g.vandeglind at beinformed.nl
Wed Aug 20 05:01:16 PDT 2008


Hi all,

Which options do I have to generate nice error messages with ANTLR when the grammar contains rules that have the backtrack option set to true?

The problem I have with backtracking rules is that I lose detail about the exceptions that occur.
This is because the exception is delayed until the backtracking rule has no other alternative left.

Regards, Gerard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080820/0f4212c0/attachment.html 


More information about the antlr-interest mailing list