[antlr-interest] Why does this conflict?
Matthew Tedder
teddemc at yahoo.com
Thu May 26 14:48:25 PDT 2005
I created this to add boolean literals:
// Boolean Literal
BOOLIT
: "true"
| "false"
;
And it seems to conflict with:
DENT
options {testLiterals=true;}
: ('a'..'z'|'A'..'Z') ('a'..'z'|'A'..'Z'|'0'..'9')*
;
With this antlr.Tool output:
ANTLR Parser Generator Version 2.7.3 1989-2004
jGuru.com
morph.g: warning:lexical nondeterminism between rules
IDENT and BOOLIT upon
morph.g: k==1:'f','t'
morph.g: k==2:'a','r'
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/
More information about the antlr-interest
mailing list