bug-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: Tue, 03 Jan 2006 16:14:19 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

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

 > The following seems misleading to me because it seems to imply that
 > the 0 actually has some significance even though the parser
 > discards $$.  You did something similar in your test case patch:

 >   {
 >     $$ = 0;
 >     YYABORT;
 >   }

 > This seems clearer:

 >   {
 >     YYABORT;
 >     $$ = 0;
 >   }

 > similar to:

 >   int function() {
 >     abort();
 >     return 0;
 >   }

 > This seems even clearer:

 >   {
 >     YYABORT;
 >     YYUSE_VAL ($$);
 >   }

 > What do you think?

I'm fine with that change.  Please, go ahead :)





reply via email to

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