[antlr-interest] non-determinism.
Terence Parr
parrt at jguru.com
Tue Mar 25 07:15:32 PST 2003
Hi. Are you adding rules like
BEGIN : "begin" ;
?? If so, that is the problem.
Ter
On Monday, March 24, 2003, at 10:42 PM, Cesar Octavio Lopez Nataren
wrote:
> Hello, I'm facing the well-known identifier, reserved words problem.
>
> I have already tried the type of rule like:
>
> IDENTIFIER
> options { testLiterals = true; }
> : ('a'..'z' | 'A'..'Z') ('a'..'z' | 'A'..'Z' | '0'..'9')*
> ;
>
> But I'm still getting the non-determinism warnings.
>
> any suggestion?
>
>
> Cheers
>
> césar
>
>
>
>
>
>
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
--
Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org
Lecturer in Comp. Sci., University of San Francisco
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list