Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/byacc/dist from http://invisible-island.net/bya...



details:   https://anonhg.NetBSD.org/src/rev/9cad03942a8b
branches:  trunk
changeset: 748604:9cad03942a8b
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 29 00:46:51 2009 +0000

description:
from http://invisible-island.net/byacc/byacc.html

diffstat:

 external/bsd/byacc/dist/ACKNOWLEDGEMENTS    |    25 +
 external/bsd/byacc/dist/CHANGES             |   509 +++
 external/bsd/byacc/dist/NEW_FEATURES        |    46 +
 external/bsd/byacc/dist/NOTES               |     9 +
 external/bsd/byacc/dist/NO_WARRANTY         |     3 +
 external/bsd/byacc/dist/README              |    29 +
 external/bsd/byacc/dist/VERSION             |     1 +
 external/bsd/byacc/dist/aclocal.m4          |   689 ++++
 external/bsd/byacc/dist/closure.c           |   255 +
 external/bsd/byacc/dist/config.guess        |  1533 +++++++++
 external/bsd/byacc/dist/config.sub          |  1699 ++++++++++
 external/bsd/byacc/dist/config_h.in         |     3 +
 external/bsd/byacc/dist/configure           |  4180 +++++++++++++++++++++++++++
 external/bsd/byacc/dist/configure.in        |    24 +
 external/bsd/byacc/dist/defs.h              |   408 ++
 external/bsd/byacc/dist/descrip.mms         |    37 +
 external/bsd/byacc/dist/error.c             |   282 +
 external/bsd/byacc/dist/graph.c             |   114 +
 external/bsd/byacc/dist/install-sh          |   294 +
 external/bsd/byacc/dist/lalr.c              |   657 ++++
 external/bsd/byacc/dist/lr0.c               |   603 +++
 external/bsd/byacc/dist/main.c              |   472 +++
 external/bsd/byacc/dist/makefile.in         |   132 +
 external/bsd/byacc/dist/mkdirs.sh           |    51 +
 external/bsd/byacc/dist/mkpar.c             |   395 ++
 external/bsd/byacc/dist/output.c            |  1237 +++++++
 external/bsd/byacc/dist/reader.c            |  2060 +++++++++++++
 external/bsd/byacc/dist/skeleton.c          |   389 ++
 external/bsd/byacc/dist/symtab.c            |   120 +
 external/bsd/byacc/dist/test/README         |     4 +
 external/bsd/byacc/dist/test/calc.output    |   461 ++
 external/bsd/byacc/dist/test/calc.tab.c     |   570 +++
 external/bsd/byacc/dist/test/calc.tab.h     |     5 +
 external/bsd/byacc/dist/test/calc.y         |   101 +
 external/bsd/byacc/dist/test/error.output   |    27 +
 external/bsd/byacc/dist/test/error.tab.c    |   383 ++
 external/bsd/byacc/dist/test/error.tab.h    |     2 +
 external/bsd/byacc/dist/test/error.y        |     8 +
 external/bsd/byacc/dist/test/ftp.output     |  1625 ++++++++++
 external/bsd/byacc/dist/test/ftp.tab.c      |  1851 +++++++++++
 external/bsd/byacc/dist/test/ftp.tab.h      |    65 +
 external/bsd/byacc/dist/test/ftp.y          |  1182 +++++++
 external/bsd/byacc/dist/test/grammar.output |  2214 ++++++++++++++
 external/bsd/byacc/dist/test/grammar.tab.c  |  1722 +++++++++++
 external/bsd/byacc/dist/test/grammar.tab.h  |    37 +
 external/bsd/byacc/dist/test/grammar.y      |   975 ++++++
 external/bsd/byacc/dist/test/run_test.sh    |    37 +
 external/bsd/byacc/dist/verbose.c           |   336 ++
 external/bsd/byacc/dist/vmsbuild.com        |   210 +
 external/bsd/byacc/dist/warshall.c          |    84 +
 external/bsd/byacc/dist/yacc.1              |   112 +
 51 files changed, 28267 insertions(+), 0 deletions(-)

diffs (truncated from 28471 to 300 lines):

diff -r ac37fc4ab639 -r 9cad03942a8b external/bsd/byacc/dist/ACKNOWLEDGEMENTS
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/byacc/dist/ACKNOWLEDGEMENTS  Thu Oct 29 00:46:51 2009 +0000
@@ -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
diff -r ac37fc4ab639 -r 9cad03942a8b external/bsd/byacc/dist/CHANGES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/byacc/dist/CHANGES   Thu Oct 29 00:46:51 2009 +0000
@@ -0,0 +1,509 @@
+2009-10-27  Thomas Dickey  <tom@crayon>
+
+       * 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 Dickey  <tom@crayon>
+
+       * 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 Dickey  <tom@crayon>
+
+       * config.guess, config.sub: 2009-08-19
+
+2009-02-21  Thomas Dickey  <tom@crayon>
+
+       * VERSION: bump
+
+       * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
+
+2008-12-26  Thomas Dickey  <tom@crayon>
+
+       * configure: regen with autoconf-2.52 (patched)
+
+2008-12-25  Thomas Dickey  <tom@crayon>
+
+       * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
+       regenerated
+
+2008-12-24  Thomas Dickey  <tom@crayon>
+
+       * VERSION: bump
+
+       * skeleton.c:
+       remove ifdef-lint from goto yyerrlab, to quiet gcc warning
+
+2008-11-26  Thomas Dickey  <tom@crayon>
+
+       * 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 Dickey  <tom@crayon>
+
+       * 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 Dickey  <tom@crayon>
+
+       * 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 Dickey  <tom@crayon>
+
+       * 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 Dickey  <tom@crayon>
+
+       * 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 Dickey  <tom@crayon>
+
+       * 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-03-14  Thomas Dickey  <tom@crayon>
+
+       * config.sub: update to 2008-03-08
+
+       * config.guess: update to 2008-03-12
+
+2007-05-09  Thomas Dickey  <tom@crayon>
+
+       * 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 Dickey  <tom@crayon>
+
+       * mkdirs.sh: improved version for "make -j"
+
+2006-12-22  Thomas Dickey  <tom@crayon>
+
+       * config.guess: 2006/12/22
+
+2006-12-08  Thomas Dickey  <tom@crayon>
+
+       * config.sub: 2006/12/08
+
+2005-08-13  Thomas Dickey  <tom@crayon>
+
+       * 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 Dickey  <tom@crayon>
+
+       * configure: regenerated
+
+       * aclocal.m4: improve checks for Intel compiler warnings
+
+2005-06-25  Thomas Dickey  <tom@crayon>
+
+       * config.sub: 2005/6/2
+
+       * config.guess: 2005/5/27
+
+2005-05-05  Thomas Dickey  <tom@crayon>
+
+       * defs.h: add a fallback for GCC_UNUSED
+
+2005-05-04  Thomas Dickey  <tom@crayon>
+
+       * 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



Home | Main Index | Thread Index | Old Index