[antlr-interest] customizing error messages for syntactic predicates

Carter Cheng carter_cheng at yahoo.com
Sat Jan 24 11:47:12 PST 2009




--- On Fri, 1/23/09, Jim Idle <jimi at temporal-wave.com> wrote:

> From: Jim Idle <jimi at temporal-wave.com>
> Subject: Re: [antlr-interest] customizing error messages for syntactic predicates
> To: 
> Cc: antlr-interest at antlr.org
> Date: Friday, January 23, 2009, 10:31 AM
> 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
> 
> 
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address


      


More information about the antlr-interest mailing list