[antlr-interest] could not even do k=1 for decision 126; reason: timed out
yimm8369 at hotmail.com
Wed Mar 25 15:57:50 PDT 2009
I have another question about grammar:
If I use the following grammar, it works fine.
: unaryExpression ((STAR|DIV|MOD)^ u=unaryExpression)*
But when I change it to
: unaryExpression (STAR^ unaryExpression)*
| unaryExpression (DIV^ unaryExpression)*
| unaryExpression (MOD^ unaryExpression)*
But I got
(10): internal error: org.antlr.tool.Grammar.createLookaheadDFA(Grammar.java:1228): could not even do k=1 for decision 126; reason: timed out (>1000ms)
It seems the two grammar are the same,I dont know why?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the antlr-interest