bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in GLR parser


From: Joel E. Denny
Subject: Re: Error in GLR parser
Date: Tue, 16 Mar 2010 11:18:40 -0400 (EDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On Tue, 16 Mar 2010, ihusar wrote:

> The problem, at kleast what seems to me strange, is here:

> Stack 0 Entering state 13  <<-------------------------------------we are in
> state 13
> Next token is token T_DEC_CONST ()
> Splitting off stack 1 from 0.
> Reduced stack 1 by rule #131; action deferred.  Now in state 56.
> <-----------  here we get to states 56 and 54
> Stack 1 Entering state 56
> Next token is token T_DEC_CONST ()
> Reduced stack 0 by rule #120; action deferred.  Now in state 54.
> <-----------
> 
> 
> However, there is no transition from state 13 to state 56 or 54:

>  120 ynt_aut_opc_badr2AR_C_0_439__0: YT_0_ .
>  131 ynt_aut_opc_dadr2AR_ACC_0_409__0: YT_0_ .

One of these reductions is being performed, so state 13 is popped from the 
stack before the transition to state 56 or state 54.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]