[antlr-interest] Empty grammarDecisionDescription field

Jim Idle jimi at temporal-wave.com
Thu Jan 29 09:14:57 PST 2009


Dennis Benzinger wrote:
> Hi!
>
> I'm using the Java target and I want to have rich error messages like
> the ones in Chapter 10.2 Enriching Error Messages during Debugging in
> The Definitive ANTLR reference. The problem is that every time I get an
> NoViableAltException the grammarDecisionDescription field is empty.
>   
That isn't really that useful to you as it really is only for debugging 
and so on. Of more importance is the rule stack trace, which you can use 
to get as specific as possible about what you are parsing.

Jim


More information about the antlr-interest mailing list