bison-patches
[Top][All Lists]
Advanced

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

Re: too many warnings from Bison CVS for Pike


From: Joel E. Denny
Subject: Re: too many warnings from Bison CVS for Pike
Date: Mon, 13 Feb 2006 22:48:19 -0500 (EST)

On Mon, 13 Feb 2006, Paul Eggert wrote:

> "Joel E. Denny" <address@hidden> writes:
> 
> > You can convert a mid-rule action to a nonterminal, but it seems there is 
> > no other way to prevent its value from being leaked during error recovery. 
> > Is my understanding correct?
> 
> I think so, yes.
> 
> This limitation should be documented, I suppose,

OK, I'll try to get to it later this week.

> until we find a way
> to fix it (probably by having inline destructor declarations or some
> similar monstrosity).

This confusion makes me wonder if %destructor really should be by type and 
if $<type>$ should dynamically record a new type for that state on the 
stack.  $<>$ would remove the type and thus the destructor.  $<type>n and 
$<>n would have no such effect because these semantic values are now in 
the user's hands.

Joel




reply via email to

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