[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 11:21:02 PST 2010
set k=1 in that decision.
Ter
On Nov 30, 2010, at 9:09 AM, Markus Lottmann wrote:
> I tried -Xconversiontimeout 30000 and the error still occurs.
>
> So far i am using ANTLRWorks 1.4 which uses antlr3.2. Is it possible to
> use ANTLRWorks with antlr3.3?
>
> @Terence: I am using this global options:
> language=Java;
> output=AST;
> ASTLabelType=CommonTree;
> backtrack=true;
>
> and never specified a value for k.
>
> Is there nothing else i can do except to update to antlr 3.3?
>
> Thanks for your help so far.
>
> Greetings,
> ML
>
> Am 30.11.2010 17:48, schrieb Terence Parr:
>> 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
>>
>
>
> 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