[antlr-interest] could not even do k=1 for decision 9; reason: timed out (>1000ms)

Terence Parr parrt at cs.usfca.edu
Tue Nov 30 08:48:35 PST 2010


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: antlr-interest-bounces at antlr.org
> [mailto:antlr-interest-bounces at antlr.org] On Behalf Of Markus Lottmann
> Sent: Tuesday, November 30, 2010 10:23 AM
> To: antlr-interest at antlr.org
> 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



More information about the antlr-interest mailing list