[antlr-interest] help with lexical nondeterminism
Alan Oursland
alan at oursland.net
Wed Feb 12 17:27:43 PST 2003
Can anyone explain to me why I am getting the following lexical
nondeterminism nondeterminism warning?
ANTLR Parser Generator Version 2.7.2 1989-2003 jGuru.com
sample.g: warning:lexical nondeterminism between rules EXAMPLE1 and EXAMPLE2
upon
sample.g: k==1:'.'
sample.g: k==2:';'
sample.g: k==3:<end-of-token>
========================================================================
class SampleLexer extends Lexer;
options {
k=3;
}
EXAMPLE1
: "+;"
| "..;"
;
EXAMPLE2
: ".;"
;
========================================================================
Thank you.
Alan
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list