From e476c87d935519d5069d44d1628aa3d5741dd81b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 21 May 2004 21:03:41 +0000 Subject: [PATCH] Version 1.875d. --- ChangeLog | 19 ++++++++++++++++--- HACKING | 14 +++++--------- NEWS | 2 +- README | 10 ++++++++-- configure.ac | 10 +++++----- src/parse-gram.c | 2 +- src/parse-gram.h | 2 +- 7 files changed, 37 insertions(+), 22 deletions(-) diff --git a/ChangeLog b/ChangeLog index 28a6352f..ba9bc598 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2004-05-21 Paul Eggert + + * 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 * 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. - + 2004-05-03 Paul Eggert * NEWS: Unescaped newlines are no longer allowed in char & strings. @@ -18,7 +31,7 @@ (unexpected_newline): New function. (): Coalesce duplicate actions. - + * 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. - + 2004-04-28 Paul Eggert Get files from the gnulib and po repositories, instead of relying diff --git a/HACKING b/HACKING index b661d88e..e1d59f01 100644 --- a/HACKING +++ b/HACKING @@ -70,14 +70,10 @@ release: 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 @@ -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. diff --git a/NEWS b/NEWS index a2c7e5a1..bc66e854 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,7 @@ 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 diff --git a/README b/README index 8d2153be..d8b45ccf 100644 --- a/README +++ b/README @@ -1,8 +1,14 @@ 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. +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 @@ -23,7 +29,7 @@ not answer, send mail to . ----- -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. diff --git a/configure.ac b/configure.ac index 930dfb15..03ec0ec7 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ # 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]) @@ -43,20 +43,20 @@ if test "${enableval}" = yes; then BISON_WARNING(-Werror) AC_SUBST([WERROR_CFLAGS], [$WARNING_CFLAGS]) WARNING_CFLAGS= - BISON_WARNING(-Wall) BISON_WARNING(-W) + BISON_WARNING(-Wall) 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(-Wmissing-prototypes) 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 diff --git a/src/parse-gram.c b/src/parse-gram.c index 82d78c26..5597ab16 100644 --- a/src/parse-gram.c +++ b/src/parse-gram.c @@ -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. diff --git a/src/parse-gram.h b/src/parse-gram.h index 2e4287c0..b6cb75c6 100644 --- a/src/parse-gram.h +++ b/src/parse-gram.h @@ -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. -- 2.45.2