or, just set backtrack=true for that decision with k=1. Ter On Nov 30, 2010, at 8:37 AM, Sam Harwell wrote:
> This message is no longer given in ANTLR 3.3. Are you able to update to it? > > If not, you can try adding "-Xconversiontimeout 30000" to the command line, > which extends the allowed analysis period to 30 seconds. > > Sam > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Markus Lottmann > Sent: Tuesday, November 30, 2010 10:23 AM > To: [email protected] > Subject: [antlr-interest] could not even do k=1 for decision 9; reason: > timed out (>1000ms) > > Hi, > > i try to create a c++ gramar and get the following error: > > error(10): internal error: > org.antlr.tool.Grammar.createLookaheadDFA(Grammar.java:1279): could not even > do k=1 for decision 9; reason: timed out (>1000ms) > > The problem is that the grammer contains a few hundert lines of rules and i > do not know how i should find the rule which corresponds to decision 9. I > get this error not only for decision > 9 but multiple times. > > Can anyone help me? > > Greetings, > ML > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org/mailman/options/antlr-interest/your-email-address > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org/mailman/options/antlr-interest/your-email-address List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
