[antlr-interest] How to deal with subset characters for letter-Thanks in advance

reserve78705 reserve78705 at yahoo.com
Tue Mar 11 14:33:08 PST 2003

I have been trying to use the following grammar rule:
marker: E | S | L;

Then, in the lexer, I have two rules:
LETTER: (a..z| A.. Z);
E: 'e';
S: 's';
L: 'l';

But the antlr give the nondeterminism error for that. Does anyone 
have some ideas for it? Thanks in advance.



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

More information about the antlr-interest mailing list