svn commit: r234949 - in vendor/byacc: . byacc-20120115
byacc-20120115/package byacc-20120115/package/debian
byacc-20120115/package/debian/source
byacc-20120115/package/pkgsrc byacc-20120115/test d...
Baptiste Daroussin
bapt at FreeBSD.org
Thu May 3 09:57:53 UTC 2012
Author: bapt
Date: Thu May 3 09:57:52 2012
New Revision: 234949
URL: http://svn.freebsd.org/changeset/base/234949
Log:
Import byacc 20120115
Approved by: des (mentor)
Added:
vendor/byacc/
vendor/byacc/byacc-20120115/
vendor/byacc/byacc-20120115/ACKNOWLEDGEMENTS
vendor/byacc/byacc-20120115/AUTHORS
vendor/byacc/byacc-20120115/CHANGES
vendor/byacc/byacc-20120115/Makefile.old (contents, props changed)
vendor/byacc/byacc-20120115/NEW_FEATURES
vendor/byacc/byacc-20120115/NOTES
vendor/byacc/byacc-20120115/NO_WARRANTY
vendor/byacc/byacc-20120115/README
vendor/byacc/byacc-20120115/VERSION
vendor/byacc/byacc-20120115/aclocal.m4
vendor/byacc/byacc-20120115/closure.c (contents, props changed)
vendor/byacc/byacc-20120115/config.guess (contents, props changed)
vendor/byacc/byacc-20120115/config.sub (contents, props changed)
vendor/byacc/byacc-20120115/config_h.in (contents, props changed)
vendor/byacc/byacc-20120115/configure (contents, props changed)
vendor/byacc/byacc-20120115/configure.in (contents, props changed)
vendor/byacc/byacc-20120115/defs.h (contents, props changed)
vendor/byacc/byacc-20120115/descrip.mms
vendor/byacc/byacc-20120115/error.c (contents, props changed)
vendor/byacc/byacc-20120115/graph.c (contents, props changed)
vendor/byacc/byacc-20120115/install-sh (contents, props changed)
vendor/byacc/byacc-20120115/lalr.c (contents, props changed)
vendor/byacc/byacc-20120115/lr0.c (contents, props changed)
vendor/byacc/byacc-20120115/main.c (contents, props changed)
vendor/byacc/byacc-20120115/makefile.in (contents, props changed)
vendor/byacc/byacc-20120115/mkpar.c (contents, props changed)
vendor/byacc/byacc-20120115/output.c (contents, props changed)
vendor/byacc/byacc-20120115/package/
vendor/byacc/byacc-20120115/package/byacc.spec
vendor/byacc/byacc-20120115/package/debian/
vendor/byacc/byacc-20120115/package/debian/changelog
vendor/byacc/byacc-20120115/package/debian/compat
vendor/byacc/byacc-20120115/package/debian/control
vendor/byacc/byacc-20120115/package/debian/copyright
vendor/byacc/byacc-20120115/package/debian/docs
vendor/byacc/byacc-20120115/package/debian/postinst
vendor/byacc/byacc-20120115/package/debian/prerm
vendor/byacc/byacc-20120115/package/debian/rules (contents, props changed)
vendor/byacc/byacc-20120115/package/debian/source/
vendor/byacc/byacc-20120115/package/debian/source/format
vendor/byacc/byacc-20120115/package/debian/watch
vendor/byacc/byacc-20120115/package/pkgsrc/
vendor/byacc/byacc-20120115/package/pkgsrc/DESCR
vendor/byacc/byacc-20120115/package/pkgsrc/Makefile (contents, props changed)
vendor/byacc/byacc-20120115/package/pkgsrc/PLIST
vendor/byacc/byacc-20120115/package/pkgsrc/distinfo
vendor/byacc/byacc-20120115/reader.c (contents, props changed)
vendor/byacc/byacc-20120115/skeleton.c (contents, props changed)
vendor/byacc/byacc-20120115/symtab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/
vendor/byacc/byacc-20120115/test/README
vendor/byacc/byacc-20120115/test/calc.output
vendor/byacc/byacc-20120115/test/calc.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/calc.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/calc.y (contents, props changed)
vendor/byacc/byacc-20120115/test/calc1.output
vendor/byacc/byacc-20120115/test/calc1.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/calc1.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/calc1.y (contents, props changed)
vendor/byacc/byacc-20120115/test/calc2.output
vendor/byacc/byacc-20120115/test/calc2.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/calc2.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/calc2.y (contents, props changed)
vendor/byacc/byacc-20120115/test/calc3.output
vendor/byacc/byacc-20120115/test/calc3.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/calc3.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/calc3.y (contents, props changed)
vendor/byacc/byacc-20120115/test/code_calc.code.c (contents, props changed)
vendor/byacc/byacc-20120115/test/code_calc.output
vendor/byacc/byacc-20120115/test/code_calc.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/code_calc.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/code_calc.y (contents, props changed)
vendor/byacc/byacc-20120115/test/code_error.code.c (contents, props changed)
vendor/byacc/byacc-20120115/test/code_error.output
vendor/byacc/byacc-20120115/test/code_error.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/code_error.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/code_error.y (contents, props changed)
vendor/byacc/byacc-20120115/test/error.output
vendor/byacc/byacc-20120115/test/error.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/error.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/error.y (contents, props changed)
vendor/byacc/byacc-20120115/test/ftp.output
vendor/byacc/byacc-20120115/test/ftp.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/ftp.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/ftp.y (contents, props changed)
vendor/byacc/byacc-20120115/test/grammar.output
vendor/byacc/byacc-20120115/test/grammar.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/grammar.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/grammar.y (contents, props changed)
vendor/byacc/byacc-20120115/test/pure_calc.output
vendor/byacc/byacc-20120115/test/pure_calc.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/pure_calc.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/pure_calc.y (contents, props changed)
vendor/byacc/byacc-20120115/test/pure_error.output
vendor/byacc/byacc-20120115/test/pure_error.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/pure_error.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/pure_error.y (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc-s.output
vendor/byacc/byacc-20120115/test/quote_calc-s.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc-s.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc.output
vendor/byacc/byacc-20120115/test/quote_calc.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc.y (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc2-s.output
vendor/byacc/byacc-20120115/test/quote_calc2-s.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc2-s.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc2.output
vendor/byacc/byacc-20120115/test/quote_calc2.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc2.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc2.y (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc3-s.output
vendor/byacc/byacc-20120115/test/quote_calc3-s.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc3-s.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc3.output
vendor/byacc/byacc-20120115/test/quote_calc3.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc3.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc3.y (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc4-s.output
vendor/byacc/byacc-20120115/test/quote_calc4-s.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc4-s.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc4.output
vendor/byacc/byacc-20120115/test/quote_calc4.tab.c (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc4.tab.h (contents, props changed)
vendor/byacc/byacc-20120115/test/quote_calc4.y (contents, props changed)
vendor/byacc/byacc-20120115/test/run_lint.sh (contents, props changed)
vendor/byacc/byacc-20120115/test/run_make.sh (contents, props changed)
vendor/byacc/byacc-20120115/test/run_test.sh (contents, props changed)
vendor/byacc/byacc-20120115/verbose.c (contents, props changed)
vendor/byacc/byacc-20120115/vmsbuild.com
vendor/byacc/byacc-20120115/warshall.c (contents, props changed)
vendor/byacc/byacc-20120115/yacc.1 (contents, props changed)
vendor/byacc/dist/
vendor/byacc/dist/ACKNOWLEDGEMENTS
vendor/byacc/dist/AUTHORS
vendor/byacc/dist/CHANGES
vendor/byacc/dist/Makefile.old (contents, props changed)
vendor/byacc/dist/NEW_FEATURES
vendor/byacc/dist/NOTES
vendor/byacc/dist/NO_WARRANTY
vendor/byacc/dist/README
vendor/byacc/dist/VERSION
vendor/byacc/dist/aclocal.m4
vendor/byacc/dist/closure.c (contents, props changed)
vendor/byacc/dist/config.guess (contents, props changed)
vendor/byacc/dist/config.sub (contents, props changed)
vendor/byacc/dist/config_h.in (contents, props changed)
vendor/byacc/dist/configure (contents, props changed)
vendor/byacc/dist/configure.in (contents, props changed)
vendor/byacc/dist/defs.h (contents, props changed)
vendor/byacc/dist/descrip.mms
vendor/byacc/dist/error.c (contents, props changed)
vendor/byacc/dist/graph.c (contents, props changed)
vendor/byacc/dist/install-sh (contents, props changed)
vendor/byacc/dist/lalr.c (contents, props changed)
vendor/byacc/dist/lr0.c (contents, props changed)
vendor/byacc/dist/main.c (contents, props changed)
vendor/byacc/dist/makefile.in (contents, props changed)
vendor/byacc/dist/mkpar.c (contents, props changed)
vendor/byacc/dist/output.c (contents, props changed)
vendor/byacc/dist/package/
vendor/byacc/dist/package/byacc.spec
vendor/byacc/dist/package/debian/
vendor/byacc/dist/package/debian/changelog
vendor/byacc/dist/package/debian/compat
vendor/byacc/dist/package/debian/control
vendor/byacc/dist/package/debian/copyright
vendor/byacc/dist/package/debian/docs
vendor/byacc/dist/package/debian/postinst
vendor/byacc/dist/package/debian/prerm
vendor/byacc/dist/package/debian/rules (contents, props changed)
vendor/byacc/dist/package/debian/source/
vendor/byacc/dist/package/debian/source/format
vendor/byacc/dist/package/debian/watch
vendor/byacc/dist/package/pkgsrc/
vendor/byacc/dist/package/pkgsrc/DESCR
vendor/byacc/dist/package/pkgsrc/Makefile (contents, props changed)
vendor/byacc/dist/package/pkgsrc/PLIST
vendor/byacc/dist/package/pkgsrc/distinfo
vendor/byacc/dist/reader.c (contents, props changed)
vendor/byacc/dist/skeleton.c (contents, props changed)
vendor/byacc/dist/symtab.c (contents, props changed)
vendor/byacc/dist/test/
vendor/byacc/dist/test/README
vendor/byacc/dist/test/calc.output
vendor/byacc/dist/test/calc.tab.c (contents, props changed)
vendor/byacc/dist/test/calc.tab.h (contents, props changed)
vendor/byacc/dist/test/calc.y (contents, props changed)
vendor/byacc/dist/test/calc1.output
vendor/byacc/dist/test/calc1.tab.c (contents, props changed)
vendor/byacc/dist/test/calc1.tab.h (contents, props changed)
vendor/byacc/dist/test/calc1.y (contents, props changed)
vendor/byacc/dist/test/calc2.output
vendor/byacc/dist/test/calc2.tab.c (contents, props changed)
vendor/byacc/dist/test/calc2.tab.h (contents, props changed)
vendor/byacc/dist/test/calc2.y (contents, props changed)
vendor/byacc/dist/test/calc3.output
vendor/byacc/dist/test/calc3.tab.c (contents, props changed)
vendor/byacc/dist/test/calc3.tab.h (contents, props changed)
vendor/byacc/dist/test/calc3.y (contents, props changed)
vendor/byacc/dist/test/code_calc.code.c (contents, props changed)
vendor/byacc/dist/test/code_calc.output
vendor/byacc/dist/test/code_calc.tab.c (contents, props changed)
vendor/byacc/dist/test/code_calc.tab.h (contents, props changed)
vendor/byacc/dist/test/code_calc.y (contents, props changed)
vendor/byacc/dist/test/code_error.code.c (contents, props changed)
vendor/byacc/dist/test/code_error.output
vendor/byacc/dist/test/code_error.tab.c (contents, props changed)
vendor/byacc/dist/test/code_error.tab.h (contents, props changed)
vendor/byacc/dist/test/code_error.y (contents, props changed)
vendor/byacc/dist/test/error.output
vendor/byacc/dist/test/error.tab.c (contents, props changed)
vendor/byacc/dist/test/error.tab.h (contents, props changed)
vendor/byacc/dist/test/error.y (contents, props changed)
vendor/byacc/dist/test/ftp.output
vendor/byacc/dist/test/ftp.tab.c (contents, props changed)
vendor/byacc/dist/test/ftp.tab.h (contents, props changed)
vendor/byacc/dist/test/ftp.y (contents, props changed)
vendor/byacc/dist/test/grammar.output
vendor/byacc/dist/test/grammar.tab.c (contents, props changed)
vendor/byacc/dist/test/grammar.tab.h (contents, props changed)
vendor/byacc/dist/test/grammar.y (contents, props changed)
vendor/byacc/dist/test/pure_calc.output
vendor/byacc/dist/test/pure_calc.tab.c (contents, props changed)
vendor/byacc/dist/test/pure_calc.tab.h (contents, props changed)
vendor/byacc/dist/test/pure_calc.y (contents, props changed)
vendor/byacc/dist/test/pure_error.output
vendor/byacc/dist/test/pure_error.tab.c (contents, props changed)
vendor/byacc/dist/test/pure_error.tab.h (contents, props changed)
vendor/byacc/dist/test/pure_error.y (contents, props changed)
vendor/byacc/dist/test/quote_calc-s.output
vendor/byacc/dist/test/quote_calc-s.tab.c (contents, props changed)
vendor/byacc/dist/test/quote_calc-s.tab.h (contents, props changed)
vendor/byacc/dist/test/quote_calc.output
vendor/byacc/dist/test/quote_calc.tab.c (contents, props changed)
vendor/byacc/dist/test/quote_calc.tab.h (contents, props changed)
vendor/byacc/dist/test/quote_calc.y (contents, props changed)
vendor/byacc/dist/test/quote_calc2-s.output
vendor/byacc/dist/test/quote_calc2-s.tab.c (contents, props changed)
vendor/byacc/dist/test/quote_calc2-s.tab.h (contents, props changed)
vendor/byacc/dist/test/quote_calc2.output
vendor/byacc/dist/test/quote_calc2.tab.c (contents, props changed)
vendor/byacc/dist/test/quote_calc2.tab.h (contents, props changed)
vendor/byacc/dist/test/quote_calc2.y (contents, props changed)
vendor/byacc/dist/test/quote_calc3-s.output
vendor/byacc/dist/test/quote_calc3-s.tab.c (contents, props changed)
vendor/byacc/dist/test/quote_calc3-s.tab.h (contents, props changed)
vendor/byacc/dist/test/quote_calc3.output
vendor/byacc/dist/test/quote_calc3.tab.c (contents, props changed)
vendor/byacc/dist/test/quote_calc3.tab.h (contents, props changed)
vendor/byacc/dist/test/quote_calc3.y (contents, props changed)
vendor/byacc/dist/test/quote_calc4-s.output
vendor/byacc/dist/test/quote_calc4-s.tab.c (contents, props changed)
vendor/byacc/dist/test/quote_calc4-s.tab.h (contents, props changed)
vendor/byacc/dist/test/quote_calc4.output
vendor/byacc/dist/test/quote_calc4.tab.c (contents, props changed)
vendor/byacc/dist/test/quote_calc4.tab.h (contents, props changed)
vendor/byacc/dist/test/quote_calc4.y (contents, props changed)
vendor/byacc/dist/test/run_lint.sh (contents, props changed)
vendor/byacc/dist/test/run_make.sh (contents, props changed)
vendor/byacc/dist/test/run_test.sh (contents, props changed)
vendor/byacc/dist/verbose.c (contents, props changed)
vendor/byacc/dist/vmsbuild.com
vendor/byacc/dist/warshall.c (contents, props changed)
vendor/byacc/dist/yacc.1 (contents, props changed)
Added: vendor/byacc/byacc-20120115/ACKNOWLEDGEMENTS
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/byacc/byacc-20120115/ACKNOWLEDGEMENTS Thu May 3 09:57:52 2012 (r234949)
@@ -0,0 +1,25 @@
+ Berkeley Yacc owes much to the unflagging efforts of Keith Bostic.
+His badgering kept me working on it long after I was ready to quit.
+
+ Berkeley Yacc is based on the excellent algorithm for computing LALR(1)
+lookaheads developed by Tom Pennello and Frank DeRemer. The algorithm is
+described in their almost impenetrable article in TOPLAS 4,4.
+
+ Finally, much of the credit for the latest version must go to those
+who pointed out deficiencies of my earlier releases. Among the most
+prolific contributors were
+
+ Benson I. Margulies
+ Dave Gentzel
+ Antoine Verheijen
+ Peter S. Housel
+ Dale Smith
+ Ozan Yigit
+ John Campbell
+ Bill Sommerfeld
+ Paul Hilfinger
+ Gary Bridgewater
+ Dave Bakken
+ Dan Lanciani
+ Richard Sargent
+ Parag Patel
Added: vendor/byacc/byacc-20120115/AUTHORS
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/byacc/byacc-20120115/AUTHORS Thu May 3 09:57:52 2012 (r234949)
@@ -0,0 +1,7 @@
+-- $Id: AUTHORS,v 1.1 2010/06/06 20:31:51 tom Exp $
+-- vile:txtmode
+-- This file is used by a script that collects contributor information and
+-- resolves nicknames vs fullnames.
+dickey Thomas Dickey
+schmitz Sylvain Schmitz
+unknown Robert Corbett
Added: vendor/byacc/byacc-20120115/CHANGES
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ vendor/byacc/byacc-20120115/CHANGES Thu May 3 09:57:52 2012 (r234949)
@@ -0,0 +1,1156 @@
+2012-01-15 Thomas E. Dickey <tom at invisible-island.net>
+
+ * package/debian/copyright: bump
+
+ * test/run_make.sh: workaround for breakage due to GNU make 3.82
+
+ * test/run_make.sh:
+ tested with Solaris 10 (bison 1.875) and added scripting to exercise
+ the /usr/ccs/bin/yacc executable
+
+ * test/grammar.tab.c: regen
+
+ * test/grammar.y: modify to also build with Solaris yacc
+
+ * VERSION, package/debian/changelog, package/byacc.spec: bump
+
+ * test/calc1.output, test/calc1.tab.c: regen
+
+ * test/calc1.y:
+ undo the change made to appease bison, since it was only a warning.
+
+ * test/pure_calc.tab.c, test/pure_error.tab.c: regen
+
+ * test/run_make.sh: another fix for running from top-level directory
+
+ * makefile.in:
+ ensure that check_make rule depends on having byacc built.
+
+ * test/run_make.sh: fixes for building from parent directory
+
+ * test/pure_error.y, test/pure_calc.y: bison-fixes
+
+ * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c, test/ftp.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c:
+ regen
+
+ * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
+ byacc already declares yyerror
+
+ * test/pure_error.y, test/pure_calc.y:
+ modified to help make the files build with bison
+
+ * test/run_make.sh:
+ supply a "%pure-parser" directive when bison needs it.
+
+ * test/code_calc.code.c: regen
+
+ * test/code_calc.y: modified to help make the files build with bison
+
+ * yacc.1:
+ in testing, found that %expect did not work as documented for bison.
+ do not recommend it for portable code.
+
+ * test/run_make.sh: workaround breakage in bison's %expect directive
+
+ * test/grammar.y: modified to help make the files build with bison
+
+ * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen
+
+ * test/calc1.y: quiet a spurious warning from bison 2.3
+
+ * test/calc1.tab.c: regen
+
+ * test/calc1.y: modified to help make the files build with bison
+
+ * yacc.1: comment on "-y" and "-P" options.
+
+ * yacc.1: comment on portability
+
+ * test/ftp.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c:
+ regen
+
+ * test/ftp.y: modified to help make the files build with bison
+ (bison's "-y" option is of no use in providing "yacc" compatibility)
+
+ * test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
+ regen
+
+ * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y:
+ modified to help make the files build with bison
+
+ * test/calc.tab.c: regen
+
+ * test/calc.y: modified to help make the files build with bison
+
+ * test/error.tab.c: regen
+
+ * test/error.y: modified to help make the files build with bison
+
+ * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen
+
+ * test/run_make.sh:
+ check for older bisons which (2.3 for instance) do not support pure parsers
+
+ * test/code_error.y, test/calc3.y, test/calc2.y:
+ modified to help make the files build with bison
+
+ * test/run_test.sh: use $opt2 in filenames of the generated files
+
+ * test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c, test/quote_calc4-s.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4.tab.c:
+ regen
+
+2012-01-14 Thomas E. Dickey <tom at invisible-island.net>
+
+ * test/calc2.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/calc1.tab.c:
+ regen
+
+ * output.c: Several changes:
+ a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex.
+ b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL,
+ using YYLEX_PARAM_TYPE and YYLEX_PARAM.
+ c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL,
+ to help with redefinitions.
+
+ * test/pure_calc.tab.c:
+ modified to help make the files build with bison
+
+ * test/run_make.sh:
+ start work on followup, to check if the generated files build with bison.
+
+ * test/pure_calc.y, test/pure_error.tab.c:
+ modified to help make the files build with bison
+
+ * test/calc3.tab.c: regen
+
+ * test/quote_calc-s.output, test/quote_calc-s.tab.c, test/quote_calc-s.tab.h, test/quote_calc2-s.output, test/quote_calc2-s.tab.c, test/quote_calc2-s.tab.h, test/quote_calc3-s.output, test/quote_calc3-s.tab.c, test/quote_calc3-s.tab.h, test/quote_calc4-s.output, test/quote_calc4-s.tab.c, test/quote_calc4-s.tab.h:
+ RCS_BASE
+
+ * test/run_test.sh: generate/test with "-s" option applied.
+
+2012-01-13 Thomas E. Dickey <tom at invisible-island.net>
+
+ * package/debian/changelog, package/byacc.spec, VERSION: bump
+
+ * yacc.1: improve documentation of -s option
+
+ * yacc.1: note that yacc ignores -y
+
+ * main.c: add -s option to usage message.
+
+ * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h, test/quote_calc3.y, test/quote_calc.tab.h, test/quote_calc.output, test/quote_calc.tab.c, test/quote_calc2.output, test/quote_calc2.tab.c, test/quote_calc2.tab.h, test/quote_calc3.tab.h, test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y:
+ RCS_BASE
+
+ * configure: regen
+
+ * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE
+
+2011-12-19 Thomas E. Dickey <tom at invisible-island.net>
+
+ * package/debian/changelog, package/byacc.spec, VERSION: bump
+
+ * yacc.1, output.c, main.c, defs.h:
+ add "-s" option to suppress generating #define's based on string contents
+ in a %token statement. For instance
+ %token EQLS "Equals"
+ would generate
+ #define EQLS 256
+ #define Equals 257
+ Simply suppressing the second #define makes the behavior closer to yacc.
+ (report by Paulo Andrade).
+
+2011-09-08 Thomas E. Dickey <tom at invisible-island.net>
+
+ * package/debian/changelog, package/byacc.spec, VERSION: bump
+
+ * output.c:
+ fix some more interaction between -i and -d flags to ensure YYERRCODE
+ and YYSTYPE are declared, tested with cproto.
+
+2011-09-07 Thomas E. Dickey <tom at invisible-island.net>
+
+ * yacc.1: document "-i" option.
+
+ * package/debian/changelog, package/byacc.spec, VERSION: bump
+
+ * output.c: fix an interaction between -i and -d
+
+ * test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c:
+ regen - changes for "-i" option move the global/impure variables near the
+ macros that may add a prefix, etc.
+
+ * skeleton.c, output.c, defs.h: changes to support "-i" option.
+
+2011-09-06 Thomas E. Dickey <tom at invisible-island.net>
+
+ * reader.c: pass explicit file-pointer to write_section()
+
+ * main.c:
+ add "-i" option, to generate interface-file (suggested by Denis M. Wilson)
+
+2011-09-05 Thomas E. Dickey <tom at invisible-island.net>
+
+ * configure: regen
+
+ * aclocal.m4:
+ resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC)
+ and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks)
+
+ * defs.h, error.c, reader.c:
+ add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson)
+
+2011-04-01 Thomas E. Dickey <tom at invisible-island.net>
+
+ * config.sub: 2011-04-01
+
+2011-02-02 Thomas E. Dickey <tom at invisible-island.net>
+
+ * config.guess: 2011-01-01
+
+2010-12-29 Thomas E. Dickey <tom at invisible-island.net>
+
+ * defs.h, skeleton.c:
+ add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas)
+
+ * defs.h:
+ mark all of the error-functions as non-returning (report by Christos Zoulas)
+
+ * test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c:
+ regen
+
+ * skeleton.c:
+ use only realloc() rather than realloc+malloc, agree that systems needing this
+ are very rare (prompted by NetBSD change).
+
+ * test/ftp.tab.c: regen
+
+2010-12-29 Christos.Zoulas
+
+ * test/ftp.y:
+ improve example, which was stuck in 19XX and assumed file sizes were longs.
+
+2010-12-29 Thomas E. Dickey <tom at invisible-island.net>
+
+ * test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c:
+ regen
+
+ * test/pure_error.y, test/pure_calc.y, test/ftp.y, test/error.y, test/code_error.y, test/code_calc.y, test/calc.y, test/calc3.y, test/calc2.y, test/calc1.y:
+ use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror
+
+ * skeleton.c:
+ remove explicit prototype for yylex() via YYLEX_DECL() macro, since that
+ would prevent declaring yylex() static (request by Christos Zoulas).
+
+ * test/calc2.tab.c, test/calc3.tab.c: regen
+
+2010-12-29 Christos.Zoulas
+
+ * output.c: correct definition for YYERROR_DECL()
+
+2010-12-29 Thomas E. Dickey <tom at invisible-island.net>
+
+ * package/debian/changelog, package/byacc.spec, VERSION: bump
+
+2010-12-26 Thomas E. Dickey <tom at invisible-island.net>
+
+ * defs.h, main.c:
+ change return-type of allocate() to avoid warnings of alignment problems
+
+ * main.c: Solaris declares chmod() in <sys/stat.h>
+
+ * configure: regen
+
+ * main.c: ifdef'd use of fcntl.h
+
+ * configure.in: add configure checks for fcntl.h, atexit and mkstemp
+
+ * main.c: for cases where mkstemp() is not available, use tempnam/open
+
+ * aclocal.m4: add CF_MKSTEMP
+
+ * aclocal.m4:
+ improve quoting, deprecate ${name-value} in favor of standard ${name:-value}
+
+2010-12-25 Thomas E. Dickey <tom at invisible-island.net>
+
+ * main.c:
+ start revising use of tmpfile(), to make this work with MinGW. Start by
+ implementing a mkstemp() alternative - noting that mkstemp() also is broken
+ for MinGW.
+
+ * package/debian/changelog, package/byacc.spec, VERSION: bump
+
+2010-11-27 Thomas E. Dickey <tom at invisible-island.net>
+
+ * package/byacc.spec, package/debian/changelog, VERSION: bump
+
+ * test/calc2.tab.c, test/calc3.tab.c: regen
+
+ * output.c:
+ corrected use of %parse-param value in yyerror(); it doesn't use &yylval
+ (report by Clifford Yapp)
+
+2010-11-26 Thomas E. Dickey <tom at invisible-island.net>
+
+ * skeleton.c: typo
+
+ * output.c:
+ correct line-numbering when "-r" option is used; the 'outline' variable
+ should only be incremented when writing to the code-file.
+
+ * test/code_calc.code.c, test/code_error.code.c: regen
+
+ * yacc.1: bump date
+
+ * yacc.1: comment on -b option vs -r
+
+ * test/calc2.tab.c, test/calc2.y, test/calc3.tab.c, test/calc3.y, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c:
+ regen
+
+ * output.c:
+ improve on YYERROR_DECL(), adding dummy params which can be used for the
+ actual function declaration. Also add YYERROR_CALL(). The two macros
+ simplify maintaining sets of grammars which may/may not be pure.
+
+ * test/calc1.y, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c:
+ regen
+
+ * output.c: generate yyerror() calls in output.c
+ This is for compatibility with bison, which passes the yylval to yyerror
+ when the %parse-param feature is used.
+
+ * skeleton.c, defs.h: generate yyerror() calls in output.c
+
+ * output.c: simplified a little, using putc_code() and putl_code()
+
+ * test/calc1.tab.h: regen
+
+ * reader.c:
+ improve ifdef for YYSTYPE union declaration (report by Clifford Yapp)
+
+ * reader.c:
+ accept underscore as a replacement for dash in command names, e.g.,
+ "%pure_parser" vs "%pure-parser".
+
+ * test/calc1.tab.c: regen
+
+ * output.c, reader.c:
+ also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp)
+
+ * package/debian/changelog, package/byacc.spec, VERSION: bump
+
+2010-11-24 Thomas E. Dickey <tom at invisible-island.net>
+
+ * main.c, defs.h, symtab.c, error.c: reduce global variables
+
+ * package/debian/changelog, package/byacc.spec, VERSION: bump
+
+ * reader.c:
+ amend fix for Redhat #112617 to still call default_action_warning() for
+ empty rules (report by Bruce Cran).
+
+2010-11-22 Thomas E. Dickey <tom at invisible-island.net>
+
+ * output.c:
+ add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
+
+ * test/calc1.tab.c: regen
+
+ * test/calc1.y: cleanup compiler warnings
+
+ * test/grammar.y: add "%expect"
+
+ * test/calc1.tab.h: regen
+
+ * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE
+
+ * test/calc2.tab.c, test/calc3.tab.c: regen
+
+ * test/calc1.y:
+ advanced example from Steve Johnson's paper, uses unions
+
+ * test/calc3.y, test/calc2.y: init 'base', so examples can run
+
+ * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++
+
+ * output.c: compensate for fix in reader.c
+
+ * reader.c:
+ add/use putc_both() and puts_both(), incidentally fixing a place where
+ a union copied to the union_file may be missing the end of the last line.
+
+ * package/debian/changelog, package/byacc.spec, VERSION: bump
+
+2010-09-28 Thomas E. Dickey <tom at invisible-island.net>
+
+ * config.guess: 2010-09-24
+
+2010-09-10 Thomas E. Dickey <tom at invisible-island.net>
+
+ * config.sub: 2010-09-11
+
+2010-06-10 Thomas E. Dickey <tom at invisible-island.net>
+
+ * yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
+ bump to 2010/06/10
+
+2010-06-09 Thomas E. Dickey <tom at invisible-island.net>
+
+ * reader.c: free declarations in leak-testing code.
+
+ * main.c: close code_file if -r option used, for leak-testing
+
+ * defs.h, reader.c:
+ improve %lex-param / %parse-param implementation by allowing for arrays to
+ be passed as parameters, e.g., "int regs[26]".
+
+ * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h, test/calc2.tab.c, test/calc2.y, test/calc2.tab.h, test/calc2.output:
+ RCS_BASE
+
+ * output.c:
+ improve %lex-param / %parse-param implementation by allowing for arrays to
+ be passed as parameters, e.g., "int regs[26]".
+
+ * test/calc.tab.c, test/calc.y:
+ test-cases and reference files for %lex-param / %parse-param
+
+ * makefile.in: add docs-rule, for html/pdf/txt form of manpage
+
+ * configure: regen
+
+ * aclocal.m4: add CF_XOPEN_SOURCE, etc.
+
+ * configure.in:
+ use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89
+
+ * test/ftp.tab.c, test/ftp.y, reader.c, symtab.c, verbose.c, lr0.c, main.c, mkpar.c, output.c, defs.h, closure.c:
+ fix warnings from clang --analyze
+
+2010-06-08 Thomas E. Dickey <tom at invisible-island.net>
+
+ * output.c: fix to build with c89, etc.
+
+ * reader.c: gcc warning
+
+ * test/ftp.tab.c, test/ftp.y, test/calc.tab.c, test/code_calc.code.c, test/code_error.code.c, test/code_error.y, test/code_calc.y, test/calc.y, test/pure_error.tab.c, test/error.tab.c, test/error.y, test/pure_error.y, test/pure_calc.tab.c, test/pure_calc.y:
+ modified test-cases to allow them to compile, to validate pure-parser changes.
+ updated reference files to match.
+
+ * output.c:
+ move call for output_stype() earlier since it is used in pure-parser declarations
+
+ * test/grammar.tab.c, test/grammar.y:
+ modified test-cases to allow them to compile, to validate pure-parser changes.
+ updated reference files to match.
+
+ * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
+ regen
+
+ * yacc.1: document %lex-param and %parse-param
+
+ * test/run_lint.sh, test/run_make.sh: RCS_BASE
+
+ * test/run_test.sh:
+ further modify to allow build-directory to be in a different location by
+ passing this directory's location as a parameter to the script.
+
+ * makefile.in:
+ add check_make and check_lint rules to help validate the generated files
+ in the test-directory
+
+2010-06-07 Thomas E. Dickey <tom at invisible-island.net>
+
+ * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
+
+ * test/run_test.sh:
+ provide for testing -r and -P options by checking if the ".y" filename
+ begins with "code_" or "pure_", respectively.
+
+ * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h, test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h, test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h, test/code_calc.output, test/code_error.output:
+ RCS_BASE
+
+ * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen
+
+ * test/run_test.sh:
+ changes to support running "make check" in a separate build-tree
+
+ * main.c: add "-P" to usage message
+
+ * reader.c: use UCH() macro to hide casts.
+
+2010-06-07 Andres.Mejia
+
+ * main.c, output.c, reader.c, defs.h, skeleton.c:
+ Fix the output order of the generated parse code file. This allows for
+ the use of YYPARSE_PARAM, by having the output that checks for
+ YYPARSE_PARAM to be defined come after the C code block in the
+ definitions section of a yacc file.
+
+ Implement support for YYLEX_PARAM, similar to bison. This is useful for
+ support for building reentrant lexers with flex.
+
+ Fix a compatibility issue with bison's pure-parser option. Bison
+ defines yylex as sending at least one parameter, &yylval, as the first
+ parameter and doesn't seem to have an easy way to remove that parameter.
+ This on the other hand is rather convenient to support saving to yylval
+ from flex when building reentrant lexers and parsers.
+
+ Add support for the %parse-param and %lex-param directives used in
+ bison. This change bears some similarity to NetBSD's changes to byacc
+ at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html
+
+ Bison allows for POSIX yacc emulation via a yacc directive in the yacc
+ file, and also via a command line switch. Implement this feature as a
+ no-op for byacc, since byacc is designed to be POSIX yacc compatible
+ anyway. This allows for better compatibility with yacc sources written
+ for bison.
+
+2010-06-07 Thomas E. Dickey <tom at invisible-island.net>
+
+ * VERSION: bump to 2010/06/07
+
+2010-06-06 Thomas E. Dickey <tom at invisible-island.net>
+
+ * test/calc.tab.c, configure: regen
+
+ * skeleton.c:
+ move #include's down into the generated code, to allow user-defined code
+ to override feature definitions, particularly with stdlib.h (request by
+ Marcus Kool).
+
+ * lr0.c, error.c, reader.c, defs.h:
+ strict gcc 3.4.6 warnings on 64-bit platform
+
+ * aclocal.m4, configure.in: add check for lint
+
+ * makefile.in: add lint rule
+
+ * defs.h, closure.c, lr0.c, warshall.c, main.c:
+ fix gcc warnings, mostly for 64-bit platform
+
+ * aclocal.m4:
+ add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc
+
+ * makefile.in: add etags/TAGS if available
+
+ * configure.in: add configure check for actual ctags and etags programs
+
+ * package/debian/copyright: add copyright notices for non-PD files
+
+ * package/debian/changelog:
+ incorporated scripts in upstream to use for test-builds
+
+ * makefile.in: drop mkdirs.sh, just use "mkdir -p"
+
+ * AUTHORS: nicknames for some contributors (see CHANGES for details)
+
+ * package/byacc.spec: RPM file for byacc
+
+ * VERSION: bump to 2010/06/06
+
+ * aclocal.m4: add copyright notice, from "my-autoconf" macros
+ http://invisible-island.net/autoconf/autoconf.html
+
+ * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS:
+ PERMIT FILE
+
+ * aclocal.m4: resync with my-autoconf. summary of changes:
+ a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter
+ b) CF_DISABLE_ECHO, change indent-convention for substituted makefile
+ c) CF_GCC_VERSION, ignore stderr
+ d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
+
+2010-04-20 Thomas E. Dickey <tom at invisible-island.net>
+
+ * package/debian/changelog, package/debian/compat, package/debian/control, package/debian/copyright, package/debian/docs, package/debian/postinst, package/debian/prerm, package/debian/rules, package/debian/watch:
+ scripts from Debian package
+
+2010-02-16 Thomas E. Dickey <tom at invisible-island.net>
+
+ * yacc.1: document -P and bison-extensions
+
+ * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
+ regen
+
+ * output.c: implement %pure-parser
+
+ * skeleton.c:
+ implement %pure-parser, like bison. To help with this, changed the stack
+ variables, putting them into a struct.
+
+ * reader.c: implement %pure-parser
+
+ * defs.h: modified skeleton to support %pure-parser feature
+
+ * main.c: add -P option to set %pure-parser
+
+ * output.c:
+ make -r and -p options work together. The -r option splits the generated
+ parser into code/table files; for this case we cannot use static data.
+ Also, we have to repeat the #define's used for prefix (-p) as well as the
+ redeclaration of yyparse(). Finally, allow any of the prefixed names to
+ be overridden, e.g., by passing a -D option to the compiler. Make that
+ a little more readable by putting a blank line before each chunk.
+
+ * defs.h: add definitions for %pure-parser
+
+ * skeleton.c:
+ put blank line before/after the redeclaration of yyparse()
+
+ * output.c: allow for other program redefining yylex()
+
+ * skeleton.c:
+ split-off xdecls[] array, to move declaration of yyparse() after #define's
+
+ * defs.h: split-out xdecls[]
+
+ * VERSION: bump
+
+ * configure: regen
+
+ * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS
+
+ * aclocal.m4:
+ resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes.
+
+2010-02-16 Ostap.Cherkashi
+
+ * skeleton.c: fix a memory leak in the generated skeleton
+
+2010-01-01 Thomas E. Dickey <tom at invisible-island.net>
+
+ * package/debian/source/format: scripts from Debian package
+
+2009-12-31 Thomas E. Dickey <tom at invisible-island.net>
+
+ * config.guess: 2009-12-30
+
+ * config.sub: 2009-12-31
+
+2009-10-27 Thomas E. Dickey <tom at invisible-island.net>
+
+ * VERSION: 20091027
+
+ * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c:
+ strict compiler warnings
+
+2009-10-26 Thomas E. Dickey <tom at invisible-island.net>
+
+ * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
+ resync
+
+ * main.c, defs.h: introduce some typedefs for portability, etc.
+
+ * makefile.in:
+ don't remove "*.log" in mostlyclean rule since it interferes with regression
+ script.
+
+ * configure: regen
+
+ * aclocal.m4: resync with my-autoconf
+
+2009-08-25 Thomas E. Dickey <tom at invisible-island.net>
+
+ * config.guess, config.sub: 2009-08-19
+
+2009-02-21 Thomas E. Dickey <tom at invisible-island.net>
+
+ * VERSION: bump
+
+ * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
+
+2008-12-26 Thomas E. Dickey <tom at invisible-island.net>
+
+ * configure: regen with autoconf-2.52 (patched)
+
+2008-12-25 Thomas E. Dickey <tom at invisible-island.net>
+
+ * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
+ regenerated
+
+2008-12-24 Thomas E. Dickey <tom at invisible-island.net>
+
+ * VERSION: bump
+
+ * skeleton.c:
+ remove ifdef-lint from goto yyerrlab, to quiet gcc warning
+
+2008-11-26 Thomas E. Dickey <tom at invisible-island.net>
+
+ * verbose.c, main.c, defs.h, mkpar.c, reader.c:
+ completed implementation of "%expect" (report by Perry E. Metzger).
+ add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
+
+2008-11-24 Thomas E. Dickey <tom at invisible-island.net>
+
+ * closure.c, defs.h, error.c, graph.c, lalr.c, lr0.c, main.c, mkpar.c, output.c, reader.c, skeleton.c, symtab.c, verbose.c, warshall.c:
+ change indent-style (request by Perry E. Metzger)
+
+2008-08-27 Thomas E. Dickey <tom at invisible-island.net>
+
+ * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
+ better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
+
+ * VERSION: bump
+
+ * skeleton.c:
+ better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
+
+ * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c:
+ change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
+
+ * configure: regen'd
+
+ * configure.in: add -Wwrite-strings to warnings
+
+ * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
+ add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
+
+ * skeleton.c:
+ add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
+
+ * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
+ fixes for gcc -Wwrite-strings
+
+ * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
+ generate the tables as static-const (this is an interface change)
+
+ * output.c: realign columns in start_table()
+
+ * output.c:
+ generate the tables as static-const (this is an interface change)
+
+ * output.c: reorder functions to eliminate forward-references
+
+ * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
+ remove 'register' keywords
+
+2008-08-26 Thomas E. Dickey <tom at invisible-island.net>
+
+ * warshall.c, verbose.c, symtab.c, skeleton.c, reader.c, output.c, mkpar.c, main.c, lr0.c, lalr.c, graph.c, error.c, closure.c:
+ remove 'register' keywords
+
+2008-08-25 Thomas E. Dickey <tom at invisible-island.net>
+
+ * test/ftp.tab.c: regen'd
+
+ * reader.c:
+ improve the left-curly fix by testing after blanks, to avoid having a
+ " {" at the beginning of a line.
+
+ * test/error.tab.c, test/grammar.tab.c: regen'd
+
+ * output.c:
+ move the remaining newline-counting into write_XXX functions.
+
+ * test/calc.tab.c: regen'd
+
+ * output.c:
+ simplify part of the output_file formatting using new functions, e.g.,
+ start_int_table(), output_newline().
+
+ * reader.c:
+ modify copy_action() to indent the first character, it if is is left-curly
+ brace. That makes the output look more like the original, as well as makes
+ it simpler to edit (not confuse editors which look for a left-curly in the
+ first column as if it were the beginning of a function).
+
+ * skeleton.c: minor fixes to avoid gcc -Wconversion warnings
+
+ * output.c: align the #define's produced for "-p" option
+
+ * test/run_test.sh: use the "-p" option for better coverage.
+
+ * output.c: simplify output_prefix() with new define_prefixed()
+
+ * skeleton.c: include string.h, for memset()
+ change stack size to unsigned to fix gcc -Wconversion warnings.
+
+ * VERSION: bump to 2008/8/25
+
+ * makefile.in: add dependency on VERSION file.
+
+2008-08-24 Thomas E. Dickey <tom at invisible-island.net>
+
+ * VERSION: bump
+
+ * lalr.c: improved memory-leak checking by freeing data in includes[]
+
+ * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
+ update to match skeleton-change
+
+ * configure: regen'd
+
+ * skeleton.c: Add fix for stack discussed
+ http://undeadly.org/cgi?action=article&sid=20080708155228
+ and applied
+ http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
+
+ * aclocal.m4: resync with my-autoconf (no major changes)
+
+2008-07-24 Thomas E. Dickey <tom at invisible-island.net>
+
+ * package/pkgsrc/Makefile, package/pkgsrc/distinfo:
+ scripts from NetBSD pkgsrc, for test-builds
+
+2008-03-14 Thomas E. Dickey <tom at invisible-island.net>
+
+ * config.sub: update to 2008-03-08
+
+ * config.guess: update to 2008-03-12
+
+2007-05-09 Thomas E. Dickey <tom at invisible-island.net>
+
+ * main.c: close graph, verbose files if opened, on exit.
+
+ * main.c:
+ audit memory leaks - valgrind reported some memory still in use on exit.
+
+ * lalr.c, output.c, reader.c, mkpar.c, lr0.c:
+ add hook for auditing memory leaks
+
+ * defs.h: add hooks for auditing memory leaks
+
+ * configure: regen'd
+
+ * configure.in:
+ use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
+ --with-dbmalloc and --with-dmalloc
+
+ * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
+
+ * aclocal.m4: improve version-checking in CF_GCC_VERSION
+ rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
+
+ * VERSION: 2007/5/9
+
+ * main.c: file_prefix did not always have a trailing null.
+
+2007-03-25 Thomas E. Dickey <tom at invisible-island.net>
+
+ * mkdirs.sh: improved version for "make -j"
+
+2006-12-22 Thomas E. Dickey <tom at invisible-island.net>
+
+ * config.guess: 2006/12/22
+
+2006-12-08 Thomas E. Dickey <tom at invisible-island.net>
+
+ * config.sub: 2006/12/08
+
+2005-08-13 Thomas E. Dickey <tom at invisible-island.net>
+
+ * main.c: add -V to usage message
+
+ * makefile.in: remove -t option from ctags
+
+ * VERSION: 2005/8/13
+
+2005-08-13 schmitz
+
+ * main.c: Sylvain Schmitz:
+ modify the '-o' option to work like bison's, which sets the file-prefix.
+
+2005-08-13 Matt.Kraai
+
+ * output.c:
+ Debian #322858 (don't close union_file, which contained data).
+ This feature is used in groff.
+
+2005-08-13 Thomas E. Dickey <tom at invisible-island.net>
+
+ * configure: regenerated
+
+ * aclocal.m4: improve checks for Intel compiler warnings
+
+2005-06-25 Thomas E. Dickey <tom at invisible-island.net>
+
+ * config.sub: 2005/6/2
+
+ * config.guess: 2005/5/27
+
+2005-05-05 Thomas E. Dickey <tom at invisible-island.net>
+
+ * defs.h: add a fallback for GCC_UNUSED
+
+2005-05-04 Thomas E. Dickey <tom at invisible-island.net>
+
+ * makefile.in: add "." to include-path to pickup config.h
+
+ * reader.c:
+ apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
+
+ * output.c:
+ correct a limit check in pack_vector() - report/analysis by William Evans
+
+ * main.c:
+ exit after printing version. Otherwise "yacc -V" will exit with an erro
+ after printing the usage message.
+
+ * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
+ regenerated after skeleton-changes
+
+ * skeleton.c: replace a few -1's with YYEMPTY
+
+ * skeleton.c:
+ delete yynewerror (no one uses it any more, and it just makes compiler warnings)
+
+ * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
+
+ * test/run_test.sh:
+ filter out lines with YYPATCH, since that will change with each update
+
+ * yacc.1: add -V option
+
+ * main.c: add -V option to print the version.
+ simplify option-parsing by moving the duplicate logic for setting flags into
+ new function setflag().
+
+ * skeleton.c:
+ move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
+ add YYPATCH here so it can be tested by applications.
+
+ * defs.h:
+ add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
+ YYPATCH symbols.
+
+ * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c:
+ reduce externs by making static the procedures that are not referenced outside
+ the module in which they are defined.
+
+ * makefile.in:
+ the VERSION file holds the patch-date. Define YYPATCH, so this will be
+ compiled into the skeleton.
+
+ * VERSION: patch-level for byacc
+
+ * main.c:
+ add "-o" to usage message. It is too long for a single line; rewrite usage()
+ to show one option per line.
+
+2005-05-03 Thomas E. Dickey <tom at invisible-island.net>
+
+ * main.c: add -o option, to work with scripts that assume bison.
+ simplify create_file_names() with a macro.
+ simplify done() with a macro.
+ adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
+ onintr(), do not flush output via exit(), but use _exit() instead.
+
+ * defs.h: remove unnecessary externs for main.c
+
+ * yacc.1: add -o option
+
+ * graph.c: remove unused parameter
+
+ * mkpar.c, defs.h, reader.c:
+ add support for "%expect", a bison feature from FreeBSD sources
+
+ * lr0.c, reader.c, main.c, skeleton.c, graph.c, symtab.c, closure.c, mkpar.c, lalr.c, error.c, warshall.c, verbose.c, output.c:
+ indent'd
+
+ * configure: regenerated for 2005/5/5
+
+ * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
+
+2005-04-27 schmitz
+
+ * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
+ Sylvain Schmitz <schmitz at i3s.unice.fr>:
+ add graphical output of the LALR(1) automaton for graphviz,
+ associated with command-line option `-g'
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-src-all
mailing list