bison-patches
[Top][All Lists]
Advanced

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

use --warnings=all,error for parse-gram.y


From: Joel E. Denny
Subject: use --warnings=all,error for parse-gram.y
Date: Fri, 10 Nov 2006 01:11:28 -0500 (EST)

I committed this.

Index: ChangeLog
===================================================================
RCS file: /sources/bison/bison/ChangeLog,v
retrieving revision 1.1603
diff -p -u -r1.1603 ChangeLog
--- ChangeLog   10 Nov 2006 05:26:26 -0000      1.1603
+++ ChangeLog   10 Nov 2006 06:06:48 -0000
@@ -1,5 +1,11 @@
 2006-11-10  Joel E. Denny  <address@hidden>
 
+       * src/Makefile.am (YACC): Use --warnings=all,error so that Bison's own
+       grammar is maintained with Bison's highest standards.
+       * src/getargs.c: Fix some typos in Doxygen comments.
+
+2006-11-10  Joel E. Denny  <address@hidden>
+
        Fix memory leaks in scanners generated by at least Flex 2.5.9 and
        later.  Reported by Paul Eggert in
        <http://lists.gnu.org/archive/html/bison-patches/2006-11/msg00014.html>.
Index: src/Makefile.am
===================================================================
RCS file: /sources/bison/bison/src/Makefile.am,v
retrieving revision 1.72
diff -p -u -r1.72 Makefile.am
--- src/Makefile.am     12 Oct 2006 23:29:52 -0000      1.72
+++ src/Makefile.am     10 Nov 2006 06:06:48 -0000
@@ -26,7 +26,7 @@ LDADD = ../lib/libbison.a $(LIBINTL)
 
 # Use our own Bison to build the parser.  Of course, you ought to
 # keep a sane version of Bison nearby...
-YACC = ../tests/bison -y
+YACC = ../tests/bison -y --warnings=all,error
 
 bin_PROGRAMS = bison
 bin_SCRIPTS = $(YACC_SCRIPT)
Index: src/getargs.c
===================================================================
RCS file: /sources/bison/bison/src/getargs.c,v
retrieving revision 1.85
diff -p -u -r1.85 getargs.c
--- src/getargs.c       8 Nov 2006 20:28:57 -0000       1.85
+++ src/getargs.c       10 Nov 2006 06:06:49 -0000
@@ -75,9 +75,9 @@ extern char *program_name;
 /** Decode an option's set of keys.
  *
  *  \param option   option being decoded.
- *  \paran keys     array of valid subarguments.
+ *  \param keys     array of valid subarguments.
  *  \param values   array of corresponding (int) values.
- *  \param flag     the flags to update
+ *  \param flags    the flags to update
  *  \param args     colon separated list of effective subarguments to decode.
  *                  If 0, then activate all the flags.
  *
@@ -108,7 +108,7 @@ flags_argmatch (const char *option,
 /** Decode a set of sub arguments.
  *
  *  \param FlagName  the flag familly to update.
- *  \param args      the effective sub arguments to decode.
+ *  \param Args      the effective sub arguments to decode.
  *
  *  \arg FlagName_args   the list of keys.
  *  \arg FlagName_types  the list of values.




reply via email to

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