bug-bison
[Top][All Lists]
Advanced

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

Re: %destructor feedback


From: Joel E. Denny
Subject: Re: %destructor feedback
Date: Mon, 19 Dec 2005 17:43:00 -0500 (EST)

On Mon, 19 Dec 2005, Paul Eggert wrote:

> Akim Demaille <address@hidden> writes:
> 
> >   A
> >   simple macro that ignores its argument suffice to avoid the
> >   complaints.
> 
> YYUSED should do the trick, no?  So all we need to do is document it?

I vote for a different macro so that the original YYUSE could easily 
evolve independently in case that proves to be necessary.  On the other 
hand, it could always be reorganized later if the need arises.

> These two patches are still pending in this area.
> 
> http://lists.gnu.org/archive/html/bison-patches/2005-12/msg00048.html
> http://lists.gnu.org/archive/html/bison-patches/2005-12/msg00049.html
> 
> The former is more important.  I'd like Paul H.'s opinion on it, but
> if he's busy I guess we can check it in and then revert it if problems
> turn up.  I will try to look at the latter in the next couple of days.
> 
> Are there other issues in this area?

There was some discussion of adding a function/macro to the user interface 
to invoke destructors for all of $n.  This would help users update 
grammars that depend on the current behavior of yacc's YYACCEPT and 
YYABORT.

Joel




reply via email to

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