[antlr-interest] Fwd: Problems
Matt Benson
gudnabrsam at yahoo.com
Fri Jun 30 08:01:56 PDT 2006
Not sure why this was sent to me personally:
--- Jörg Riedl <Jrydl at web.de> wrote:
> Date: Fri, 30 Jun 2006 07:03:14 +0200
> From: Jörg Riedl <Jrydl at web.de>
> To: Matt Benson <gudnabrsam at yahoo.com>
> Subject: Problems
>
> Hello.
>
> I have a problem with ANTLR.
> The Consol throws the following exception!
>
> Antlr.g:654:4: ANTLR could not analyze this decision
> in rule UpperBound probably due to a true ambiguity
> in the grammar or left-recursion problems. ANTLR
> re-analyzed the decision with a fixed lookahead of
> k=1.
>
> [12:36:01] Antlr.g:654:4: Decision can match input
> such as "'i'" using multiple alternatives:
>
> alt 1 via NFA path
>
2596,2584,860,7423,7421,876,7503,7492,878,7516,7504,880,7529,7517,882,7540,7535,7536,7537,884,7551,7541,886,7562,7552,888,7573,7563,890,7587,7574,892,7602,7588,894,7617,7603,896,7630,7625,7626,7627,898,7641,7631,900,7652,7642,902,7661,7656,7657,7658,904,7673,7662,908,7718,7694,496,4498,4475,498,4550,4504,128,1985,1980,1979,1975,6,1008,1006,8,1011,1009,748,6404,6392,750,6410,6411,6407,756,6426,6425,6424
>
>
> alt 2 via NFA path 2596,2597,2586,2587
>
> As a result, alternative(s) 2 were disabled for that
> input
>
> [12:36:01] Antlr.g:654:4: The following alternatives
> are unreachable: 2
>
>
> code :
> UpperBound
> : SingleConstExpression | 'infinity'
> ;
>
>
>
>
>
> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer
> Onlinekosten zu sparen!
>
*http://smartsurfer.web.de/?mc=100071&distributionid=000000000071*
>
[http://smartsurfer.web.de/?mc=100071&distributionid=000000000071]
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the antlr-interest
mailing list