]> git.saurik.com Git - bison.git/blobdiff - ChangeLog
Pacify "gcc -Wunused" for the input function from Flex.
[bison.git] / ChangeLog
index e6388ea10d7b22639c978a760cb154fe07809710..bcf5d96c241e5c4a2c575b20641ee77d766c0d30 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,51 @@
+2009-08-01  Joel E. Denny  <jdenny@clemson.edu>
+
+       Pacify "gcc -Wunused" for the input function from Flex.
+       Reported by Alex Rozenman.  This warning shows up with gcc-4.3.0
+       and later.
+       * src/scan-code.l: Add "%option noinput", which I cannot find in
+       the Flex manual, but which Flex has supported since at least as
+       far back as 2.5.4.  However, if any of our developers still use
+       Flex 2.5.4, they'll need to stop configuring with
+       --enable-gcc-warnings because "%option noinput" didn't work
+       correctly until Flex 2.5.6.
+       * src/scan-gram.l: Likewise.
+       * src/scan-skel.l: Likewise.
+
+2009-07-31  Alex Rozenman  <rozenman@gmail.com>
+
+       Fix --enable-gcc-warnings problems.
+       * src/reader.c: Adjust variable names.
+       * src/scan-code.l: Fix prototypes and adjust names.
+       * src/named-ref.c: Remove redundant "if".
+
+2009-07-29  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+       Fix a --enable-gcc-warnings problem.
+       * src/scan-gram.l (SC_ESCAPED_CHARACTER): Actually use length
+       variable.
+
+2009-07-24  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+       Warn about character literals not of length one.
+       * NEWS (2.5): Document.
+       * src/scan-gram.l (INITIAL): Remove comment that we don't check
+       the length.
+       (SC_ESCAPED_CHARACTER): Warn if length is wrong.
+       * tests/input.at (Bad character literals): New test group.
+
+2009-07-24  Alex Rozenman  <rozenman@gmail.com>
+
+       Fix some memory leaks.
+       * src/named-ref.c: Add a pointer check (named_ref_free).
+       * src/scan-code.l: New function (variant_table_free). Called in
+       code_scanner_free.
+       * src/symlist.c: Call to named_ref_free (symbol_list_free).
+
+2009-07-24  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+       * src/lalr.c (state_lookahead_tokens_count): Correct comment.
+
 2009-07-22  Joel E. Denny  <jdenny@ces.clemson.edu>
 
        Some M4 cleanup in the testsuite.
        <http://lists.gnu.org/archive/html/bison-patches/2009-06/msg00010.html>.
        * src/getargs.c (usage): Here.
 
-2009-07-04  Alex Rozenman <rozenman@gmail.com>
+2009-07-04  Alex Rozenman  <rozenman@gmail.com>
 
        Alphabetical order in src/local.mk.
        * src/local.mk: Adjust.
 
-2009-07-04  Alex Rozenman <rozenman@gmail.com>
+2009-07-04  Alex Rozenman  <rozenman@gmail.com>
 
        Style changes and factoring.
        * src/named-ref.h: Add comments.