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 Import byacc 20110908



details:   https://anonhg.NetBSD.org/src/rev/6219e3d76f81
branches:  trunk
changeset: 769460:6219e3d76f81
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Sep 10 21:18:59 2011 +0000

description:
Import byacc 20110908

diffstat:

 external/bsd/byacc/dist/AUTHORS                  |     2 +-
 external/bsd/byacc/dist/CHANGES                  |   243 +++-
 external/bsd/byacc/dist/README                   |     2 +-
 external/bsd/byacc/dist/VERSION                  |     2 +-
 external/bsd/byacc/dist/aclocal.m4               |   121 ++-
 external/bsd/byacc/dist/config.guess             |   167 +-
 external/bsd/byacc/dist/config.sub               |   178 ++-
 external/bsd/byacc/dist/configure                |  1056 ++++++++++++++-------
 external/bsd/byacc/dist/configure.in             |     7 +-
 external/bsd/byacc/dist/makefile.in              |     2 +-
 external/bsd/byacc/dist/package/byacc.spec       |     4 +-
 external/bsd/byacc/dist/package/debian/changelog |    19 +
 external/bsd/byacc/dist/test/calc.tab.c          |    37 +-
 external/bsd/byacc/dist/test/calc.tab.h          |     2 -
 external/bsd/byacc/dist/test/calc.y              |     7 +-
 external/bsd/byacc/dist/test/calc1.tab.c         |    95 +-
 external/bsd/byacc/dist/test/calc1.tab.h         |     2 -
 external/bsd/byacc/dist/test/calc1.y             |     8 +-
 external/bsd/byacc/dist/test/calc2.tab.c         |    39 +-
 external/bsd/byacc/dist/test/calc2.tab.h         |     2 -
 external/bsd/byacc/dist/test/calc2.y             |     7 +-
 external/bsd/byacc/dist/test/calc3.tab.c         |    29 +-
 external/bsd/byacc/dist/test/calc3.tab.h         |     2 -
 external/bsd/byacc/dist/test/calc3.y             |     7 +-
 external/bsd/byacc/dist/test/code_calc.code.c    |    38 +-
 external/bsd/byacc/dist/test/code_calc.tab.c     |     2 -
 external/bsd/byacc/dist/test/code_calc.tab.h     |     2 -
 external/bsd/byacc/dist/test/code_calc.y         |     7 +-
 external/bsd/byacc/dist/test/code_error.code.c   |    38 +-
 external/bsd/byacc/dist/test/code_error.tab.c    |     2 -
 external/bsd/byacc/dist/test/code_error.tab.h    |     2 -
 external/bsd/byacc/dist/test/code_error.y        |     7 +-
 external/bsd/byacc/dist/test/error.y             |     7 +-
 external/bsd/byacc/dist/test/grammar.tab.c       |    33 +-
 external/bsd/byacc/dist/test/grammar.tab.h       |     2 -
 external/bsd/byacc/dist/test/grammar.y           |     4 +-
 external/bsd/byacc/dist/test/pure_calc.tab.c     |    27 +-
 external/bsd/byacc/dist/test/pure_calc.tab.h     |     2 -
 external/bsd/byacc/dist/test/pure_calc.y         |     7 +-
 external/bsd/byacc/dist/test/pure_error.tab.c    |    25 +-
 external/bsd/byacc/dist/test/pure_error.tab.h    |     2 -
 external/bsd/byacc/dist/test/pure_error.y        |     7 +-
 external/bsd/byacc/dist/test/run_lint.sh         |     2 +-
 external/bsd/byacc/dist/test/run_make.sh         |     2 +-
 external/bsd/byacc/dist/test/run_test.sh         |     2 +-
 external/bsd/byacc/dist/vmsbuild.com             |     2 +-
 46 files changed, 1454 insertions(+), 808 deletions(-)

diffs (truncated from 4944 to 300 lines):

diff -r 7ce4c529f902 -r 6219e3d76f81 external/bsd/byacc/dist/AUTHORS
--- a/external/bsd/byacc/dist/AUTHORS   Sat Sep 10 21:18:00 2011 +0000
+++ b/external/bsd/byacc/dist/AUTHORS   Sat Sep 10 21:18:59 2011 +0000
@@ -1,4 +1,4 @@
--- Id: AUTHORS,v 1.1 2010/06/06 20:31:51 tom Exp
+-- $Id: AUTHORS,v 1.1.1.2 2011/09/10 21:18:59 christos Exp $
 -- vile:txtmode
 -- This file is used by a script that collects contributor information and
 -- resolves nicknames vs fullnames.
diff -r 7ce4c529f902 -r 6219e3d76f81 external/bsd/byacc/dist/CHANGES
--- a/external/bsd/byacc/dist/CHANGES   Sat Sep 10 21:18:00 2011 +0000
+++ b/external/bsd/byacc/dist/CHANGES   Sat Sep 10 21:18:59 2011 +0000
@@ -1,12 +1,135 @@
-2010-11-27  Thomas Dickey  <tom@crayon>
+2011-09-08  Thomas E. Dickey  <tom%invisible-island.net@localhost>
+
+       * 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%invisible-island.net@localhost>
+
+       * 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%invisible-island.net@localhost>
+
+       * 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%invisible-island.net@localhost>
+
+       * 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%invisible-island.net@localhost>
+
+       * config.sub: 2011-04-01
+
+2011-02-02  Thomas E. Dickey  <tom%invisible-island.net@localhost>
+
+       * config.guess: 2011-01-01
+
+2010-12-29  Thomas E. Dickey  <tom%invisible-island.net@localhost>
+
+       * 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%invisible-island.net@localhost>
+
+       * 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%invisible-island.net@localhost>
+
+       * package/debian/changelog, package/byacc.spec, VERSION: bump
+
+2010-12-26  Thomas E. Dickey  <tom%invisible-island.net@localhost>
+
+       * 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%invisible-island.net@localhost>
+
+       * 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%invisible-island.net@localhost>
 
        * 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 Dickey  <tom@crayon>
+2010-11-26  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * skeleton.c: typo
 
@@ -55,7 +178,7 @@
 
        * package/debian/changelog, package/byacc.spec, VERSION: bump
 
-2010-11-24  Thomas Dickey  <tom@crayon>
+2010-11-24  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * main.c, defs.h, symtab.c, error.c: reduce global variables
 
@@ -65,7 +188,7 @@
        amend fix for Redhat #112617 to still call default_action_warning() for
        empty rules (report by Bruce Cran).
 
-2010-11-22  Thomas Dickey  <tom@crayon>
+2010-11-22  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * output.c:
        add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp).
@@ -97,12 +220,20 @@
 
        * package/debian/changelog, package/byacc.spec, VERSION: bump
 
-2010-06-10  Thomas Dickey  <tom@crayon>
+2010-09-28  Thomas E. Dickey  <tom%invisible-island.net@localhost>
+
+       * config.guess: 2010-09-24
+
+2010-09-10  Thomas E. Dickey  <tom%invisible-island.net@localhost>
+
+       * config.sub: 2010-09-11
+
+2010-06-10  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * yacc.1, package/debian/changelog, package/byacc.spec, VERSION:
        bump to 2010/06/10
 
-2010-06-09  Thomas Dickey  <tom@crayon>
+2010-06-09  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * reader.c: free declarations in leak-testing code.
 
@@ -134,7 +265,7 @@
        * 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 Dickey  <tom@crayon>
+2010-06-08  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * output.c: fix to build with c89, etc.
 
@@ -166,7 +297,7 @@
        add check_make and check_lint rules to help validate the generated files
        in the test-directory
 
-2010-06-07  Thomas Dickey  <tom@crayon>
+2010-06-07  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE
 
@@ -213,11 +344,11 @@
        anyway.  This allows for better compatibility with yacc sources written
        for bison.
 
-2010-06-07  Thomas Dickey  <tom@crayon>
+2010-06-07  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * VERSION: bump to 2010/06/07
 
-2010-06-06  Thomas Dickey  <tom@crayon>
+2010-06-06  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * test/calc.tab.c, configure: regen
 
@@ -268,12 +399,12 @@
                c) CF_GCC_VERSION, ignore stderr
                d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc
 
-2010-04-20  Thomas Dickey  <tom@crayon>
+2010-04-20  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * 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 Dickey  <tom@crayon>
+2010-02-16  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * yacc.1: document -P and bison-extensions
 
@@ -325,24 +456,24 @@
 
        * skeleton.c: fix a memory leak in the generated skeleton
 
-2010-01-01  Thomas Dickey  <tom@crayon>
+2010-01-01  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * package/debian/source/format: scripts from Debian package
 
-2009-12-31  Thomas Dickey  <tom@crayon>
+2009-12-31  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * config.guess: 2009-12-30
 
        * config.sub: 2009-12-31
 
-2009-10-27  Thomas Dickey  <tom@crayon>
+2009-10-27  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * 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>
+2009-10-26  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
        resync
@@ -357,44 +488,44 @@
 
        * aclocal.m4: resync with my-autoconf
 
-2009-08-25  Thomas Dickey  <tom@crayon>
+2009-08-25  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * config.guess, config.sub: 2009-08-19
 
-2009-02-21  Thomas Dickey  <tom@crayon>
+2009-02-21  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * VERSION: bump
 
        * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
 
-2008-12-26  Thomas Dickey  <tom@crayon>
+2008-12-26  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * configure: regen with autoconf-2.52 (patched)
 
-2008-12-25  Thomas Dickey  <tom@crayon>
+2008-12-25  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
        regenerated
 
-2008-12-24  Thomas Dickey  <tom@crayon>
+2008-12-24  Thomas E. Dickey  <tom%invisible-island.net@localhost>
 
        * VERSION: bump
 
        * skeleton.c:



Home | Main Index | Thread Index | Old Index