]> git.saurik.com Git - bison.git/commitdiff
Version 1.875d.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 21 May 2004 21:03:41 +0000 (21:03 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 21 May 2004 21:03:41 +0000 (21:03 +0000)
ChangeLog
HACKING
NEWS
README
configure.ac
src/parse-gram.c
src/parse-gram.h

index 28a6352f1395536ce2cc4de2f6b4f49d78a2f1a8..ba9bc5989e6a966c694c4034441f9b67b7ac1d3e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2004-05-21  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * NEWS: Version 1.875d.
+       * configure.ac (AC_INIT): Likewise.
+       * src/parse-gram.c, src/parse-gram.h: Regenerate with 1.875d.
+
+       * configure.ac (--enable-gcc-warnings): Do not enable -Wshadow,
+       -Wmissing-prototypes, or -Wstrict-prototypes for C++.  The current
+       lalr1.cc runs afoul of the first, and the last two are no longer
+       supported by GCC 3.4.0.
+       * README: Mention GNU m4 1.4 or later; mention m4 patches.
+       * HACKING: Use ./bootstrap, not "make update" to import foreign files.
+
 2004-05-06  Paul Eggert  <eggert@cs.ucla.edu>
 
        * src/muscle_tab.c (hash_muscle): Accept and return size_t, not
 2004-05-06  Paul Eggert  <eggert@cs.ucla.edu>
 
        * src/muscle_tab.c (hash_muscle): Accept and return size_t, not
@@ -5,7 +18,7 @@
        * src/state.c (state_hash, state_hasher): Likewise.
        * src/symtab.c (hash_symbol, hash_symbol_hasher): Likewise.
        * src/uniqstr.c (hash_uniqstr): Likewise.
        * src/state.c (state_hash, state_hasher): Likewise.
        * src/symtab.c (hash_symbol, hash_symbol_hasher): Likewise.
        * src/uniqstr.c (hash_uniqstr): Likewise.
-       
+
 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
 
        * NEWS: Unescaped newlines are no longer allowed in char & strings.
 2004-05-03  Paul Eggert  <eggert@cs.ucla.edu>
 
        * NEWS: Unescaped newlines are no longer allowed in char & strings.
@@ -18,7 +31,7 @@
        (unexpected_newline): New function.
        (<INITIAL,SC_AFTER_IDENTIFIER,SC_PRE_CODE>): Coalesce duplicate
        actions.
        (unexpected_newline): New function.
        (<INITIAL,SC_AFTER_IDENTIFIER,SC_PRE_CODE>): Coalesce duplicate
        actions.
-       
+
        * NEWS: Document %expect-rr.
 
        * bootstrap (--gnulib-srcdir=*, --cvs-user=*):
        * NEWS: Document %expect-rr.
 
        * bootstrap (--gnulib-srcdir=*, --cvs-user=*):
@@ -38,7 +51,7 @@
 
        * src/parse-gram.y: Put copyright notice inside %{ %} so it
        gets copied to the output file.
 
        * src/parse-gram.y: Put copyright notice inside %{ %} so it
        gets copied to the output file.
-       
+
 2004-04-28  Paul Eggert  <eggert@twinsun.com>
 
        Get files from the gnulib and po repositories, instead of relying
 2004-04-28  Paul Eggert  <eggert@twinsun.com>
 
        Get files from the gnulib and po repositories, instead of relying
diff --git a/HACKING b/HACKING
index b661d88ef58134f0153fd9d75bffe3ce566e283f..e1d59f017b94248a481afdf2956ab77689e713c2 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -70,14 +70,10 @@ release:
 See above.
 
 ** Update the foreign files
 See above.
 
 ** Update the foreign files
-Running `make update' in the top level should make it all for you.
-This covers PO files too.  Beware that it happens that some PO files
-contain serious problems and are rejected by recent Gettext releases:
-fix them all, and complain to the Translation Project!
-
-Note that there might be *new* PO files.  Don't forget to update the
-whole machinery, which not only includes LINGUAS, but `cvs add'ing the
-PO files too.
+Running `./bootstrap' in the top level should update them all for you.
+This covers PO files too.  Sometimes a PO file contains problems that
+causes it to be rejected by recent Gettext releases; please report
+these to the Translation Project.
 
 ** Update NEWS
 The version number, *and* the date of the release (including for
 
 ** Update NEWS
 The version number, *and* the date of the release (including for
@@ -117,7 +113,7 @@ Cc'ed.  It really needs to be a separate message.
 
 -----
 
 
 -----
 
-Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Bison.
 
 
 This file is part of GNU Bison.
 
diff --git a/NEWS b/NEWS
index a2c7e5a14489bbda31c67c3f6e87e43aa3a92081..bc66e854a11a0a49833c3dfb812be170341f62ee 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,7 @@
 Bison News
 ----------
 
 Bison News
 ----------
 
-Changes in version 1.875d:
+Changes in version 1.875d, 2004-05-21:
 
 * Unescaped newlines are no longer allowed in character constants or
   string literals.  They were never portable, and GCC 3.4.0 has
 
 * Unescaped newlines are no longer allowed in character constants or
   string literals.  They were never portable, and GCC 3.4.0 has
diff --git a/README b/README
index 8d2153be3d5e673a354cb6b9530d03d12a10624a..d8b45ccf045d032291a6a469142c719de0ed8cd3 100644 (file)
--- a/README
+++ b/README
@@ -1,8 +1,14 @@
 This directory contains the Bison parser generator.
 
 This directory contains the Bison parser generator.
 
-See the file INSTALL for compilation and installation instructions.
+See the file INSTALL for generic compilation and installation instructions.
 See the file doc/FAQ for frequently asked questions.
 
 See the file doc/FAQ for frequently asked questions.
 
+Bison requires GNU m4 1.4 (or later, if a later version of GNU m4
+becomes available).  The following m4 patches are recommended:
+
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=92629
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=211477
+
 Older versions of Sun Forte Developer 6 update 2 have a compiler bug
 that cause "make check" to fail with a "Encounter BINCL entry"
 diagnostic.  To fix the bug, update to the latest set of Solaris and
 Older versions of Sun Forte Developer 6 update 2 have a compiler bug
 that cause "make check" to fail with a "Encounter BINCL entry"
 diagnostic.  To fix the bug, update to the latest set of Solaris and
@@ -23,7 +29,7 @@ not answer, send mail to <help-bison@gnu.org>.
 
 -----
 
 
 -----
 
-Copyright (C) 1992, 1998, 1999, 2003 Free Software Foundation, Inc.
+Copyright (C) 1992, 1998, 1999, 2003, 2004 Free Software Foundation, Inc.
 
 This file is part of Bison, the GNU Compiler Compiler.
 
 
 This file is part of Bison, the GNU Compiler Compiler.
 
index 930dfb15c6307a2144df2ac8cadebfc1d3c46f8b..03ec0ec77d436d104fd84c72c24f2da4687dbbc1 100644 (file)
@@ -20,7 +20,7 @@
 # We need a recent Autoconf to run a recent Autotest.
 AC_PREREQ(2.57)
 
 # We need a recent Autoconf to run a recent Autotest.
 AC_PREREQ(2.57)
 
-AC_INIT([GNU Bison], [1.875c], [bug-bison@gnu.org])
+AC_INIT([GNU Bison], [1.875d], [bug-bison@gnu.org])
 AC_CONFIG_AUX_DIR([config])
 AC_CONFIG_MACRO_DIR([m4])
 
 AC_CONFIG_AUX_DIR([config])
 AC_CONFIG_MACRO_DIR([m4])
 
@@ -43,20 +43,20 @@ if test "${enableval}" = yes; then
   BISON_WARNING(-Werror)
   AC_SUBST([WERROR_CFLAGS], [$WARNING_CFLAGS])
   WARNING_CFLAGS=
   BISON_WARNING(-Werror)
   AC_SUBST([WERROR_CFLAGS], [$WARNING_CFLAGS])
   WARNING_CFLAGS=
-  BISON_WARNING(-Wall)
   BISON_WARNING(-W)
   BISON_WARNING(-W)
+  BISON_WARNING(-Wall)
   BISON_WARNING(-Wcast-align)
   BISON_WARNING(-Wcast-qual)
   BISON_WARNING(-Wformat)
   BISON_WARNING(-Wcast-align)
   BISON_WARNING(-Wcast-qual)
   BISON_WARNING(-Wformat)
-  BISON_WARNING(-Wmissing-prototypes)
-  BISON_WARNING(-Wshadow)
-  BISON_WARNING(-Wstrict-prototypes)
   BISON_WARNING(-Wwrite-strings)
   AC_SUBST([WARNING_CXXFLAGS], [$WARNING_CFLAGS])
   # The following warnings are not suitable for C++.
   BISON_WARNING(-Wbad-function-cast)
   BISON_WARNING(-Wmissing-declarations)
   BISON_WARNING(-Wwrite-strings)
   AC_SUBST([WARNING_CXXFLAGS], [$WARNING_CFLAGS])
   # The following warnings are not suitable for C++.
   BISON_WARNING(-Wbad-function-cast)
   BISON_WARNING(-Wmissing-declarations)
+  BISON_WARNING(-Wmissing-prototypes)
   BISON_WARNING(-Wnested-externs)
   BISON_WARNING(-Wnested-externs)
+  BISON_WARNING(-Wshadow)
+  BISON_WARNING(-Wstrict-prototypes)
   AC_DEFINE([lint], 1, [Define to 1 if the compiler is checking for lint.])
 fi
 
   AC_DEFINE([lint], 1, [Define to 1 if the compiler is checking for lint.])
 fi
 
index 82d78c269fe75780d7e225e96b5d4fe6edfd3b7b..5597ab162c798f789dcdabbb8d5664a3651764d7 100644 (file)
@@ -1,4 +1,4 @@
-/* A Bison parser, made by GNU Bison 1.875c.  */
+/* A Bison parser, made by GNU Bison 1.875d.  */
 
 /* Skeleton parser for Yacc-like parsing with Bison,
    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
 /* Skeleton parser for Yacc-like parsing with Bison,
    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
index 2e4287c0caf601eae281782f93ddf3e93379e8f6..b6cb75c62186124dfe7cb9d86fbdd80757f84e80 100644 (file)
@@ -1,4 +1,4 @@
-/* A Bison parser, made by GNU Bison 1.875c.  */
+/* A Bison parser, made by GNU Bison 1.875d.  */
 
 /* Skeleton parser for Yacc-like parsing with Bison,
    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
 /* Skeleton parser for Yacc-like parsing with Bison,
    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.