help-bison
[Top][All Lists]
Advanced

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

Re: %destructor feedback


From: Akim Demaille
Subject: Re: %destructor feedback
Date: Thu, 20 Oct 2005 15:43:37 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

>>> "Joel" == Joel E Denny <address@hidden> writes:

 > On Tue, 18 Oct 2005, Joel E. Denny wrote:
 >>> For bison, I believe the order of importance on this cleanup issue
 >>> goes like
 >>> this:
 >>> 1. document cleanup behavior in the manual
 >>> 2. make cleanup behavior consistent across YYABORT/YYERROR and all
 >>> skeletons
 >>> (I guess this means _no_ auto cleanup)
 >>> 3. offer more cleanup flexibility (macros)
 >> 
 >> I agree.
 >> 
 >> I believe you and I are in agreement on how the first 2 points
 >> should be resolved.  Would one of the veteran bison developers like
 >> to offer words of wisdom?

 > Paul, I just looked through the ChangeLog.  I believe you committed the 
 > patch that made YYABORT and YYACCEPT invoke RHS destructors.

 > In this thread, I've pointed out several reasons why I think this is 
 > undesirable behavior.  At the very least, it's inconsistent with glr.c.

 > What do you think about our proposed alternatives?

I'd like to know what we make with the
automatic-destruction-of-absents first, since they are both heavily
connected.





reply via email to

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