[antlr-interest] Re: beginner questions concerning nondeterminism
warnings
Xue Yong Zhi
seclib at seclib.com
Mon Jan 23 09:19:11 PST 2006
Antlr gives you a warning because of "anything can follow" concept.
In your grammar, antlr thinks "EVENT EQUALS" can happen, which conflict
with IDENT. Please check out antlr FAQ:
http://www.magelang.com/faq/view.jsp?EID=746286
--
Xue Yong Zhi
http://seclib.blogspot.com
> EVENT
> : ('a'..'h') ( "is" | "es" | '&' | '#' | "&&" | "##" )?
> | '_'
> ;
>
> IDENT
> : ALPHA EQUALS!
> ;
>
More information about the antlr-interest
mailing list