[antlr-interest] another nondeterminism question
Adrian Sandor
aditsu at yahoo.com
Fri Jul 11 09:54:00 PDT 2003
why do I get a nondeterminism warning for this grammar:
class l1 extends Lexer;
options{k=2;}
protected A: 'a' | "bb";
B: 'b';
S: (A)+;
but I don't get any warning when I change S to:
S: A (A)+;
and how can I solve it for the first case?
I tried many things but to no avail...
thanks
Adrian
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list