X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/71b61d4db50938c0f5fa58fd3d3b0045fd762f57..f16b08196c780556cbf50691e2944960aebc46f6:/ChangeLog

diff --git a/ChangeLog b/ChangeLog
index 10ba84b5..662d7bcb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,178 @@
+2007-08-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+	Update to GPLv3.
+	* doc/gpl-3.0.texi: New file.
+	* doc/gpl.texi: Remove.
+	* COPYING, GNUmakefile, HACKING, Makefile.am, Makefile.cfg:
+	* Makefile.maint, NEWS, PACKAGING, README, README-alpha:
+	* README-hacking, TODO, bootstrap, bootstrap.conf:
+	* configure.ac, data/Makefile.am, data/README, data/bison.m4:
+	* data/c++-skel.m4, data/c++.m4, data/c-skel.m4, data/c.m4:
+	* data/glr.c, data/glr.cc, data/java-skel.m4, data/java.m4:
+	* data/lalr1.cc, data/lalr1.java, data/location.cc:
+	* data/push.c, data/yacc.c, data/m4sugar/m4sugar.m4:
+	* djgpp/Makefile.maint, djgpp/README.in, djgpp/config.bat:
+	* djgpp/config.sed, djgpp/config.site, djgpp/config_h.sed:
+	* djgpp/djunpack.bat, djgpp/subpipe.c, djgpp/subpipe.h:
+	* djgpp/testsuite.sed, doc/Makefile.am, doc/bison.texinfo:
+	* doc/fdl.texi, doc/refcard.tex, etc/Makefile.am, etc/README:
+	* etc/bench.pl.in, examples/Makefile.am, examples/extexi:
+	* examples/calc++/Makefile.am, lib/Makefile.am, lib/abitset.c:
+	* lib/abitset.h, lib/bbitset.h, lib/bitset.c, lib/bitset.h:
+	* lib/bitset_stats.c, lib/bitset_stats.h, lib/bitsetv-print.c:
+	* lib/bitsetv-print.h, lib/bitsetv.c, lib/bitsetv.h:
+	* lib/ebitset.c, lib/ebitset.h, lib/get-errno.c:
+	* lib/get-errno.h, lib/lbitset.c, lib/lbitset.h:
+	* lib/libiberty.h, lib/main.c, lib/subpipe.c, lib/subpipe.h:
+	* lib/timevar.c, lib/timevar.def, lib/timevar.h:
+	* lib/vbitset.c, lib/vbitset.h, lib/yyerror.c:
+	* m4/c-working.m4, m4/cxx.m4, m4/m4.m4, m4/subpipe.m4:
+	* m4/timevar.m4, src/LR0.c, src/LR0.h, src/Makefile.am:
+	* src/assoc.c, src/assoc.h, src/closure.c, src/closure.h:
+	* src/complain.c, src/complain.h, src/conflicts.c:
+	* src/conflicts.h, src/derives.c, src/derives.h, src/files.c:
+	* src/files.h, src/flex-scanner.h, src/getargs.c:
+	* src/getargs.h, src/gram.c, src/gram.h, src/graphviz.c:
+	* src/lalr.c, src/lalr.h, src/location.c, src/location.h:
+	* src/main.c, src/muscle_tab.c, src/muscle_tab.h:
+	* src/nullable.c, src/nullable.h, src/output.c, src/output.h:
+	* src/parse-gram.c, src/parse-gram.h, src/parse-gram.y:
+	* src/print.c, src/print.h, src/print_graph.c:
+	* src/print_graph.h, src/reader.c, src/reader.h, src/reduce.c:
+	* src/reduce.h, src/relation.c, src/relation.h:
+	* src/revision.h, src/scan-code.h, src/scan-code.l:
+	* src/scan-gram.h, src/scan-gram.l, src/scan-skel.h:
+	* src/scan-skel.l, src/state.c, src/state.h, src/symlist.c:
+	* src/symlist.h, src/symtab.c, src/symtab.h, src/system.h:
+	* src/tables.c, src/tables.h, src/uniqstr.c, src/uniqstr.h:
+	* tests/Makefile.am, tests/actions.at, tests/c++.at:
+	* tests/calc.at, tests/conflicts.at, tests/cxx-type.at:
+	* tests/existing.at, tests/glr-regression.at:
+	* tests/headers.at, tests/input.at, tests/java.at:
+	* tests/local.at, tests/output.at, tests/push.at:
+	* tests/reduce.at, tests/regression.at, tests/sets.at:
+	* tests/skeletons.at, tests/synclines.at, tests/testsuite.at:
+	* tests/torture.at:
+	Update to GPLv3.
+
+2007-08-11  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+	Get rid of broken %no-parser, -n, and --no-parser implementation and
+	documentation.
+	* TODO: Don't mention them.
+	* doc/bison.1: Likewise.
+	* doc/bison.texinfo (Decl Summary): Likewise.
+	(Bison Options): Likewise.
+	(Option Cross Key): Likewise.
+	* src/getargs.c (no_parser_flag): Remove global variable.
+	(usage): Don't print description of -n and --no-parser.
+	(long_options): Remove --no-parser entry here.
+	(getargs): Remove -n case in the switch here.
+	* src/getargs.h (no_parser_flag): Remove extern.
+	* tests/regression.at (Web2c Actions): Remove comment that mentions
+	--no-parser.
+
+2007-08-11  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+	* tests/push.at (Push Parsing: Memory Leak for Early Deletion): Do not
+	name user variables starting with `yy'.  Just pass NULL instead of a
+	dummy local &yylval to yypush_parse.
+	* tests/torture.at (AT_DATA_STACK_TORTURE): Do not name user variables
+	starting with `yy'.
+
+2007-08-03  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+	* data/yacc.c (yyexhaustedlab): Define it when YYERROR_VERBOSE is
+	true since it's then always used regardless of whether yyoverflow is
+	defined.  Reported by Christian Burger at
+	<http://lists.gnu.org/archive/html/bug-bison/2007-07/msg00031.html>.
+	* THANKS: Add Christian Burger.
+
+	* ChangeLog: For changes in doc/bison.texinfo, consistently reference
+	node names: say "Decl Summary" not "Bison Declaration Summary".
+
+2007-07-28  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+	* src/muscle_tab.c (muscle_percent_define_flag_if): In order to
+	determine whether this function has already complained about an invalid
+	value for a %define boolean variable, don't check whether Bison has
+	ever examined the value.  As written, the check was a tautology.
+	Instead, record and check for this complaint using a separate muscle.
+
+2007-07-27  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+	Fix push parsing memory leak reported by Brandon Lucia at
+	<http://lists.gnu.org/archive/html/bug-bison/2007-07/msg00032.html>.
+	* THANKS: Add Brandon Lucia.
+	* data/push.c (yypstate_delete): Free the stack if it was reallocated
+	but the parse never completed and thus freed it.
+	* tests/Makefile.am (TESTSUITE_AT): Add push.at.
+	* tests/testsuite.at: Include push.at.
+	* test/push.at: New.
+	(Push Parsing: Memory Leak for Early Deletion): New test case.
+
+2007-07-17  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+	Improve handling of multiple S/R conflicts in the same state and of S/R
+	conflicts involving multiple reductions.
+	* src/conflicts.c (resolve_sr_conflict): Don't assign the error action
+	set for a state here or Bison will abort if it is reassigned on a
+	later conflicted reduction in the same state.
+	Similarly, don't finalize and assign the solved conflicts report here
+	or it will be lost if it is reassigned on a later conflicted reduction
+	in the same state.
+	(set_conflicts): Instead, assign them both here after all S/R conflicts
+	in the state have been fully examined.
+	* src/print.c (shift_set): Rename to...
+	(no_reduce_set): ... this.
+	(print_reductions): Update for rename, and add %nonassoc error action
+	tokens to no_reduce_set so that, when printing the first remaining
+	reduction on an error action token, the reduction is enclosed in
+	brackets.
+	(print_results): Update for rename.
+	* tests/conflicts.at (Solved conflicts report for multiple reductions
+	in a state): New test case.
+	(%nonassoc error actions for multiple reductions in a state): New test
+	case.
+
+	* src/main.c (main): Don't depend on C99 features.
+
+2007-07-16  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+	* build-aux/.cvsignore: Add compile.
+	* lib/.cvsignore: Add charset.alias, ref-add.sed, ref-del.sed, and
+	uniwidth.
+
+2007-07-10  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+	* bootstrap (slurp): Create target directories that don't exist.
+	Specifically, we need lib/uniwidth/ because of recent Gnulib changes.
+
+2007-07-09  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+	* LR0.c (new_itemsets): Fix wording in comments: say item index rather
+	than item number.
+	* closure.c (closure): Likewise.
+	* state.h (reductions): Comment sorting of rules.
+	(state): Comment sorting of items.
+
+2007-07-02  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+	Fix C++ test cases after recent Gnulib changes.  Discussed starting at
+	<http://lists.gnu.org/archive/html/bug-bison/2007-07/msg00000.html>.
+	* examples/calc++/Makefile.am (DEFAULT_INCLUDES): Override Automake's
+	definition in order to avoid Gnulib headers since we don't use config.h
+	here.
+	* tests/output.at (AT_CHECK_OUTPUT_FILE_NAME): Use AT_DATA_GRAMMAR
+	rather than AT_DATA so that config.h is included.
+
+2007-07-01  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+	* data/glr.c (yy_yypstack, yypstates, yypdumpstack): Use YYFPRINTF
+	instead of fprintf.  Guard these functions with #if YYDEBUG instead of
+	#ifdef YYDEBUG for consistency with all other uses of YYDEBUG in Bison
+	and so that YYFPRINTF is guaranteed to be defined here.
+
 2007-05-29  Joel E. Denny  <jdenny@ces.clemson.edu>
 
 	* src/muscle_tab.c (muscle_percent_define_invalid_value): Replace
@@ -647,8 +822,8 @@
 	* NEWS (2.3a+): Add entry for the change to %define.  Update entry for
 	%code.
 	* doc/bison.texinfo (Prologue Alternatives): Update.
-	(Bison Declaration Summary): In %defines entry, update mention of
-	`%code requires' and `%code provides'.
+	(Decl Summary): In %defines entry, update mention of `%code requires'
+	and `%code provides'.
 	(C++ Location Values): Update %define uses.
 	(Calc++ Parser Interface): Likewise.
 	(Calc++ Parser): Likewise, and update `%code requires' uses.
@@ -2925,7 +3100,7 @@
 	* doc/bison.texinfo (The prologue): Update names, and replace remaining
 	prologue blocks with %*-header declarations.
 	(Calc++ Parser): Likewise.
-	(Bison Declaration Summary): Update names.
+	(Decl Summary): Update names.
 	(Table of Symbols): Update description.
 	* src/parse-gram.y (PERCENT_AFTER_DEFINITIONS): Update to...
 	(PERCENT_END_HEADER): ... this.
@@ -3002,9 +3177,8 @@
 	header and code file.
 	* doc/bison.texinfo (Prologue): Show use of %before-definitions instead
 	of prologues for %union dependencies.
-	(Bison Declaration Summary): In %defines description, mention the
-	effect of %before-definitions and %after-definitions on the header
-	file.
+	(Decl Summary): In %defines description, mention the effect of
+	%before-definitions and %after-definitions on the header file.
 	(Calc++ Parser): Forward declare driver in a %before-definitions rather
 	than in the pre-prologue so that make check succeeds.
 	(Table of Symbols): Add entries for %before-definitions and