[antlr-interest] Again simple nondeterminism problems
ersin_er at yahoo.com
Tue Aug 23 01:08:48 PDT 2005
I'll be glad if you can help me about the following nondeterminism
OID: NUMERICOID | DESCR;
NUMERICOID: NUMBER (DOT NUMBER)+;
NUMBER: DIGIT | ( LDIGIT ( DIGIT )+ );
protected DOT: '.';
protected DIGIT: '0' | LDIGIT;
protected LDIGIT: '1'..'9';
protected DESCR: ALPHA ( ALPHA | DIGIT | '-' )*;
protected ALPHA: 'A'..'Z' | 'a'..'z';
and I have literal rules like in the lexer:
ANTLR complains about two nondeterminisms. The first one is for
NUMERICOID (and OID also) and NUMBER and the second one is for DESCR
(and OIS also) and ID_AND, ID_OR...
Thanks in advance.
Bilgisayar Muhendisligi Bolumu
Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
More information about the antlr-interest