[antlr-interest] Wrong Java code generated for semantic predicates?

Paul J. Lucas dude at darkfigure.org
Sun Nov 10 13:19:03 PST 2002


Given an earlier suggestion:

	FOO
		: BAR ( { cond }? BAZ | ) ;

The Java code generated looks for BAZ before it checks the semantic predicate.  I want it to check the semantic predicate immediately after it matches BAR.  The Java code seems wrong to me.

- Paul


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list