[antlr-interest] customizing error messages for syntactic predicates

Jim Idle jimi at temporal-wave.com
Fri Jan 23 10:31:26 PST 2009


Carter Cheng wrote:
> Hello,
>
> This is probably something that is quite easy- but how does one go about customizing error messages resulting from a predicate type check? The standard error messages can be rather cryptic.
>   

Do you mean things like "predicate failed."? If you get that it means 
you have not covered all the alts and need to supply more options to the 
grammar :-)

Jim




More information about the antlr-interest mailing list