bug-bison
[Top][All Lists]
Advanced

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

Re: glr & locations


From: Joel E. Denny
Subject: Re: glr & locations
Date: Sun, 30 Oct 2005 19:13:26 -0500 (EST)

On Sun, 30 Oct 2005, Paul Hilfinger wrote:

> This code appears inside the else block within yydoAction().  Is it really
> possible for the else block to ever execute?

<snip>

As the code currently stands, I believe that you are correct that the
answer is "no".  The history here is that I was considering a feature
that would allow the programmer to specify certain (presumably simple)
actions to be executed immediately, even when the generated parser was
in "split" mode.  The current code allows for that.  I would prefer to
keep it, at least for now, in case I eventually decide that the
feature really is important enough to add.

If you have time, could you add a brief comment to the source? I find dead code very distracting when debugging.

Thanks very much for your reply... and for bison GLR.

Joel




reply via email to

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