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 20130304
details: https://anonhg.NetBSD.org/src/rev/1a46c728a6a0
branches: trunk
changeset: 785919:1a46c728a6a0
user: christos <christos%NetBSD.org@localhost>
date: Sat Apr 06 14:45:24 2013 +0000
description:
Import byacc 20130304
diffstat:
external/bsd/byacc/dist/AUTHORS | 2 +-
external/bsd/byacc/dist/CHANGES | 308 ++
external/bsd/byacc/dist/README | 2 +-
external/bsd/byacc/dist/VERSION | 2 +-
external/bsd/byacc/dist/aclocal.m4 | 408 +-
external/bsd/byacc/dist/config.guess | 224 +-
external/bsd/byacc/dist/config.sub | 169 +-
external/bsd/byacc/dist/configure | 2723 +++++++++++---------
external/bsd/byacc/dist/configure.in | 14 +-
external/bsd/byacc/dist/makefile.in | 5 +-
external/bsd/byacc/dist/package/byacc.spec | 4 +-
external/bsd/byacc/dist/package/debian/changelog | 30 +
external/bsd/byacc/dist/package/debian/copyright | 4 +-
external/bsd/byacc/dist/package/pkgsrc/Makefile | 2 +-
external/bsd/byacc/dist/package/pkgsrc/PLIST | 2 +-
external/bsd/byacc/dist/package/pkgsrc/distinfo | 2 +-
external/bsd/byacc/dist/test/calc.tab.c | 54 +-
external/bsd/byacc/dist/test/calc.y | 10 +-
external/bsd/byacc/dist/test/calc1.tab.c | 78 +-
external/bsd/byacc/dist/test/calc1.y | 12 +-
external/bsd/byacc/dist/test/calc2.tab.c | 57 +-
external/bsd/byacc/dist/test/calc2.y | 13 +-
external/bsd/byacc/dist/test/calc3.tab.c | 62 +-
external/bsd/byacc/dist/test/calc3.y | 12 +-
external/bsd/byacc/dist/test/code_calc.code.c | 55 +-
external/bsd/byacc/dist/test/code_calc.y | 11 +-
external/bsd/byacc/dist/test/code_error.code.c | 21 +-
external/bsd/byacc/dist/test/code_error.y | 11 +-
external/bsd/byacc/dist/test/error.y | 11 +-
external/bsd/byacc/dist/test/ftp.output | 18 +-
external/bsd/byacc/dist/test/grammar.tab.c | 194 +-
external/bsd/byacc/dist/test/grammar.y | 18 +-
external/bsd/byacc/dist/test/pure_calc.tab.c | 72 +-
external/bsd/byacc/dist/test/pure_calc.y | 22 +-
external/bsd/byacc/dist/test/pure_error.tab.c | 31 +-
external/bsd/byacc/dist/test/pure_error.y | 16 +-
external/bsd/byacc/dist/test/quote_calc-s.output | 557 ++++
external/bsd/byacc/dist/test/quote_calc-s.tab.c | 689 +++++
external/bsd/byacc/dist/test/quote_calc-s.tab.h | 11 +
external/bsd/byacc/dist/test/quote_calc.output | 557 ++++
external/bsd/byacc/dist/test/quote_calc.tab.c | 695 +++++
external/bsd/byacc/dist/test/quote_calc.tab.h | 17 +
external/bsd/byacc/dist/test/quote_calc.y | 114 +
external/bsd/byacc/dist/test/quote_calc2-s.output | 557 ++++
external/bsd/byacc/dist/test/quote_calc2-s.tab.c | 689 +++++
external/bsd/byacc/dist/test/quote_calc2-s.tab.h | 11 +
external/bsd/byacc/dist/test/quote_calc2.output | 557 ++++
external/bsd/byacc/dist/test/quote_calc2.tab.c | 695 +++++
external/bsd/byacc/dist/test/quote_calc2.tab.h | 17 +
external/bsd/byacc/dist/test/quote_calc2.y | 114 +
external/bsd/byacc/dist/test/quote_calc3-s.output | 557 ++++
external/bsd/byacc/dist/test/quote_calc3-s.tab.c | 690 +++++
external/bsd/byacc/dist/test/quote_calc3-s.tab.h | 11 +
external/bsd/byacc/dist/test/quote_calc3.output | 557 ++++
external/bsd/byacc/dist/test/quote_calc3.tab.c | 690 +++++
external/bsd/byacc/dist/test/quote_calc3.tab.h | 11 +
external/bsd/byacc/dist/test/quote_calc3.y | 114 +
external/bsd/byacc/dist/test/quote_calc4-s.output | 557 ++++
external/bsd/byacc/dist/test/quote_calc4-s.tab.c | 690 +++++
external/bsd/byacc/dist/test/quote_calc4-s.tab.h | 11 +
external/bsd/byacc/dist/test/quote_calc4.output | 557 ++++
external/bsd/byacc/dist/test/quote_calc4.tab.c | 690 +++++
external/bsd/byacc/dist/test/quote_calc4.tab.h | 11 +
external/bsd/byacc/dist/test/quote_calc4.y | 114 +
external/bsd/byacc/dist/test/run_lint.sh | 2 +-
external/bsd/byacc/dist/test/run_make.sh | 125 +-
external/bsd/byacc/dist/test/run_test.sh | 71 +-
external/bsd/byacc/dist/vmsbuild.com | 2 +-
68 files changed, 13479 insertions(+), 1940 deletions(-)
diffs (truncated from 19600 to 300 lines):
diff -r f69d552f2111 -r 1a46c728a6a0 external/bsd/byacc/dist/AUTHORS
--- a/external/bsd/byacc/dist/AUTHORS Sat Apr 06 14:30:03 2013 +0000
+++ b/external/bsd/byacc/dist/AUTHORS Sat Apr 06 14:45:24 2013 +0000
@@ -1,4 +1,4 @@
--- Id: AUTHORS,v 1.1 2010/06/06 20:31:51 tom Exp
+-- 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.
diff -r f69d552f2111 -r 1a46c728a6a0 external/bsd/byacc/dist/CHANGES
--- a/external/bsd/byacc/dist/CHANGES Sat Apr 06 14:30:03 2013 +0000
+++ b/external/bsd/byacc/dist/CHANGES Sat Apr 06 14:45:24 2013 +0000
@@ -1,3 +1,311 @@
+2013-03-04 Thomas E. Dickey <tom%invisible-island.net@localhost>
+
+ * package/debian/changelog, VERSION, package/byacc.spec: bump
+
+ * aclocal.m4:
+ adapt tweak from Dave Becket to work around long-ago breakage in "new" autoconf.
+
+ * output.c:
+ fix bogus #include if "-i" is given but not "-d" (report by Richard Mitton).
+ also while testing that, found a case where the union_file is unused; added
+ a check for address that.
+
+ * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h: regen
+
+ * test/ftp.y: fix most compiler warnings for "make check_make"
+
+ * test/calc1.tab.c: regen
+
+ * test/calc1.y: fix most compiler warnings for "make check_make"
+
+ * 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, test/grammar.tab.c,
test/pure_calc.tab.c, test/pure_error.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc2.tab.c, test/quote_calc3-s.tab.c, test/quote_calc3.tab.c,
test/quote_calc4-s.tab.c, test/quote_calc4.tab.c:
+ regen
+
+ * skeleton.c: quiet a gcc conversion-warning in yygrowstack()
+
+ * configure: regen
+
+ * aclocal.m4:
+ another fix for CF_GCC_VERSION to handle Debian's modification of gcc message.
+
+2013-02-10 Thomas E. Dickey <tom%invisible-island.net@localhost>
+
+ * config.sub, config.guess: 2013-02-04
+
+2012-10-03 Thomas E. Dickey <tom%invisible-island.net@localhost>
+
+ * package/debian/changelog, package/byacc.spec, VERSION: bump
+
+ * configure: regen
+
+ * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC
+
+ * aclocal.m4:
+ moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc)
+ the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor.
+
+ * aclocal.m4, configure.in:
+ Arian's change dropped my check for misused $CC variable - restore that with
+ alternate macro CF_PROG_CC.
+
+2012-10-03 Adrian.Bunk
+
+ * aclocal.m4:
+ suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since
+ they are not needed.
+
+2012-10-03 Thomas E. Dickey <tom%invisible-island.net@localhost>
+
+ * aclocal.m4:
+ split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in
+ Adrian's suggested changes.
+
+ * aclocal.m4:
+ CF_CLANG_COMPILER - check if the given compiler is really clang.
+
+ * aclocal.m4:
+ add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around
+ old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1
+ on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's
+ pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work
+ around by excluding that check for pre-3.x compilers.
+
+ * aclocal.m4:
+ modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions
+ provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather
+ than appending to confdefs.h, since long-ago concern about the ability to
+ pass-through parameterized macros appears to be not a problem, testing with
+ 2.13 and 2.52
+
+2012-10-03 Adrian.Bunk
+
+ * aclocal.m4:
+ add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by
+ autoheader, updated macros:
+ CF_CHECK_CACHE
+ CF_DISABLE_LEAKS
+ CF_MKSTEMP
+ CF_MIXEDCASE_FILENAMES
+ CF_NO_LEAKS_OPTION
+
+2012-10-03 Thomas E. Dickey <tom%invisible-island.net@localhost>
+
+ * aclocal.m4:
+ move existence-check for mkstemp out of the AC_TRY_RUN, to help with
+ cross-compiles
+
+2012-10-02 Thomas E. Dickey <tom%invisible-island.net@localhost>
+
+ * config_h.in:
+ Adrian Bunk request - replace this with the output from autoheader
+
+2012-09-29 Adrian.Bunk
+
+ * configure.in:
+ suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no
+ check is needed anymore for standard C compilers), drop AC_CONST (same
+ reason), modify AC_OUTPUT to rely upon template generated by autoheader.
+ bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT
+ as being obsolete with autoconf 2.52x
+
+ * configure.in, main.c: drop check for atexit, because it is standard C
+
+ * makefile.in: add assignment for datarootdir variable.
+
+2012-05-26 Thomas E. Dickey <tom%invisible-island.net@localhost>
+
+ * package/debian/changelog, package/byacc.spec, VERSION: bump
+
+ * reader.c:
+ some versions of gcc may warn that bp is not set in mark_symbol, e.g.,
+ if GCC_NORETURN is not handled; appease the compiler.
+
+ * reader.c:
+ use the declared types Assoc_t and Value_t in some places where compiler only
+ cared about char versus short.
+
+ * reader.c:
+ use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
+ (no object change)
+
+ * defs.h:
+ add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD
+ packagers to build without configure script. Also remove duplicate declaration
+ of pure_parser variable (prompted by patch by Baptiste Daroussin).
+
+ Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and
+ REALLOC macros.
+
+ * symtab.c:
+ use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
+ (no object change)
+
+2012-05-25 Thomas E. Dickey <tom%invisible-island.net@localhost>
+
+ * output.c, main.c, verbose.c, mkpar.c, lr0.c:
+ use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation
+ (no object change)
+
+2012-01-15 Thomas E. Dickey <tom%invisible-island.net@localhost>
+
+ * 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%invisible-island.net@localhost>
+
+ * 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%invisible-island.net@localhost>
+
+ * 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.
+
Home |
Main Index |
Thread Index |
Old Index