[antlr-interest] non-determinism.

mzukowski at yci.com mzukowski at yci.com
Tue Mar 25 08:08:18 PST 2003


You must have other lexer rules that start with letters to get
nondeterminism warnings.  What are they?

Monty

-----Original Message-----
From: Cesar Octavio Lopez Nataren [mailto:cesar at ciencias.unam.mx]
Sent: Monday, March 24, 2003 10:42 PM
To: antlr-interest at yahoogroups.com
Subject: [antlr-interest] non-determinism.


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/ 


 

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



More information about the antlr-interest mailing list