[antlr-interest] FailedPredicateException with c.g grammar
jaluber at gmx.de
Mon Feb 4 03:19:26 PST 2008
Anurag Agarwal schrieb:
> On Feb 4, 2008 6:43 AM, Anurag Agarwal <talk2anurag at gmail.com
> <mailto:talk2anurag at gmail.com>> wrote:
> I am new to Antlr. I downloaded iANTLRWorks 1.1.7 for Windows few
> days back. It seems to be working fine with Expr.g sample grammar.
> I am trying to use c.g grammar. I am giving input
> int i;
> to interpreter and immediately I get FailedPredicatedException.
> Any pointers in this regards will be helpful.
c.g maybe uses predicates. ANTLRworks interpreter doesn't work with
predicates - you have to use the debugger for that.
More information about the antlr-interest