bison-patches
[Top][All Lists]
Advanced

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

Re: warning: unused value: $3


From: Joel E. Denny
Subject: Re: warning: unused value: $3
Date: Wed, 1 Nov 2006 01:09:44 -0500 (EST)

On Tue, 31 Oct 2006, Paul Eggert wrote:

> "Joel E. Denny" <address@hidden> writes:
> 
> > +   Disable unset/unused mid-rule value warnings by default, and recognize
> > +   --warnings=midrule-values to enable them.  Discussed starting at
> > +   <http://lists.gnu.org/archive/html/help-bison/2006-10/msg00030.html>.
> 
> That change looks good to me.  Please install, and thanks.

Done plus this cleanup....

* src/reader.c (check_and_convert_grammar): Use symbol_list_free rather
than LIST_FREE directly.

Index: src/reader.c
===================================================================
RCS file: /sources/bison/bison/src/reader.c,v
retrieving revision 1.275
diff -p -u -r1.275 reader.c
--- src/reader.c        21 Oct 2006 04:52:43 -0000      1.275
+++ src/reader.c        1 Nov 2006 06:05:55 -0000
@@ -666,5 +671,5 @@ check_and_convert_grammar (void)
   packgram ();
 
   /* The grammar as a symbol_list is no longer needed. */
-  LIST_FREE (symbol_list, grammar);
+  symbol_list_free (grammar);
 }




reply via email to

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