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 2021-01-09 Thomas E. Dickey <dicke...



details:   https://anonhg.NetBSD.org/src/rev/08bf5ca90783
branches:  trunk
changeset: 959636:08bf5ca90783
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 20 20:30:06 2021 +0000

description:
2021-01-09  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * package/debian/copyright, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
        bump

2021-01-05  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * configure: regen

        * aclocal.m4: resync with my-autoconf

2020-09-22  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * closure.c, warshall.c:
        fix undefined-behavior diagnosed with gcc -fsanitize=undefined (report by
        Alexander Richardson)

2020-09-10  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * LICENSE: RCS_BASE

        * reader.c, output.c: cppcheck -- reduce scope

        * defs.h: update to 2.0

        * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, 
test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, 
test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, 
test/btyacc/code_error.code.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, 
test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax10.tab.c, 
test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, 
test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, 
test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, 
test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, 
test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, 
test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 
test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 
test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c, 
test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, 
test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/defines1.calc.c, 
test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, 
test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, 
test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, 
test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax27.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, 
test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, 
test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, 
test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, 
test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, test/yacc/varsyntax_calc1.tab.c:
        update to version 2.0

        * reader.c:
        improve loop which skips backward through a (possibly nested) sequence of
        square-brackets.

        * reader.c: simplify a check to quiet a bogus cppcheck-warning

        * yacc.1: bump date

        * reader.c: add a note about a bogus cppcheck warning

        * configure: regen

        * configure.in:
        always check for gcc attributes, to work around defect in clang's imitation
        of this feature

        * reader.c: cppcheck -- scope reduction
        cppcheck -- eliminate bogus returns after no-return functions

        * verbose.c, output.c, mkpar.c, main.c, warshall.c, lr0.c, lalr.c, graph.c, closure.c:
        cppcheck -- scope reduction

        * package/debian/compat: quiet compatibility-warning

        * yacc.1: use "ASCII" for dashes which are part of proper names

        * configure: regen

        * configure.in: switch to --enable-warnings, for consistency

        * aclocal.m4:
        resync with my-autoconf, for compiler-warning fixes with macOS

        * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
        bump

2020-08-16  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * config.guess, config.sub: 2020-08-17

2020-06-28  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * config.sub: 2020/06/28

2020-06-14  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * config.guess: 2020/04/26

2020-03-30  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * package/debian/copyright: bump

        * test/yacc/grammar.tab.c, test/btyacc/grammar.tab.c, test/grammar.y, reader.c:
        typo found with codespell

        * yacc.1: fixes noted in the original report, overlooked in followup

2020-03-30  Bjarni.Ingi.Gislason

        * yacc.1: typography/spelling fixes - Debian #955175

2020-03-30  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
        bump

2020-03-10  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * configure: regen

        * aclocal.m4:
        resync with my-autoconf, mostly fixes for compiler-warnings

        * configure.in: use macro to suppress X-dependency from newer macros

2019-12-20  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * config.guess: 2019-12-21

2019-11-25  Tom.Shields

        * main.c:
        fix an inconsistency between the getopt and non-getopt configuration.
        In the former, getopt always used "yacc", not the name of the executable.

2019-11-25  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * test/run_make.sh:
        suppress bison's -Wyacc warning, which is not useful.

        * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
        bump

2019-11-19  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * yacc.1: new version of manpage

        * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
        bump

        * yacc.1: document %code

        * test/btyacc/calc_code_all.error, test/btyacc/calc_code_all.output, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_all.tab.h, test/btyacc/calc_code_default.error, 
test/btyacc/calc_code_default.output, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_default.tab.h, test/btyacc/calc_code_imports.error, test/btyacc/calc_code_imports.output, 
test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_imports.tab.h, test/btyacc/calc_code_provides.error, test/btyacc/calc_code_provides.output, test/btyacc/calc_code_provides.tab.c, 
test/btyacc/calc_code_provides.tab.h, test/btyacc/calc_code_requires.error, test/btyacc/calc_code_requires.output, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_requires.tab.h, 
test/btyacc/calc_code_top.error, test/btyacc/calc_code_top.output, test/btyacc/calc_code_top.tab.c, test/btyacc/calc_code_top.tab.h, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_all.tab.h, 
test/yacc/calc_code_default.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_provides.tab.h, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_requires.tab.h, 
test/yacc/calc_code_top.tab.c:
        RCS_BASE

        * output.c:
        amend updates for 'outline' when processing "%code" in code-file

        * output.c:
        modify output_code_lines() to show begin/end block comments which were in
        reader.c, and to generate a #line for the code-file.

        * reader.c:
        modify copy_code() to allow for multiple %code directives for a given
        section, recording the input line-number for each directive as a #line
        in the resulting string.  remove the block start/end comments, since those
        will be done for a whole section in output.c

        * mstring.c, defs.h: add msrenew()

        * test/yacc/calc_code_all.error, test/yacc/calc_code_all.output, test/yacc/calc_code_default.error, test/yacc/calc_code_default.output, test/yacc/calc_code_default.tab.h, 
test/yacc/calc_code_imports.error, test/yacc/calc_code_imports.output, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_imports.tab.h, test/yacc/calc_code_provides.error, 
test/yacc/calc_code_provides.output, test/yacc/calc_code_requires.error, test/yacc/calc_code_requires.output, test/yacc/calc_code_top.error, test/yacc/calc_code_top.output, 
test/yacc/calc_code_top.tab.h:
        RCS_BASE

2019-11-18  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * test/calc_code_imports.y, test/calc_code_all.y, test/calc_code_default.y, test/calc_code_top.y, test/calc_code_provides.y, test/calc_code_requires.y:
        RCS_BASE

2019-11-04  Michael.Forney

        * defs.h: add missing "extern" for new variable "code_lines"

2019-11-03  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * main.c: build-fix for MinGW cross-compiling

        * output.c, reader.c: gcc-warnings

        * output.c: check validity of text_file before rewind
        remove redundant check of iflag

        * main.c: fix memory-leak reported by clang

        * mkpar.c: guard against a null-reference reported by clang (unlikely)

        * reader.c: fix two coverity warnings:
        a) resource leak on malloc-failure
        b) possible null-pointer dereference on parse-error

        * test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_demo.tab.h: regen

        * defs.h: use enum's to simplify recent change

        * mstring.c:
        enable mstring() in regular byacc, since Zoulas' change relies upon it

2019-11-03  Christos.Zoulas

        * defs.h, reader.c, output.c: add support for bison's "%code" feature
        also fix a small bug: declare YYLTYPE externally when producing locations

2019-11-03  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * test/btyacc/help.error, test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, 
test/yacc/no_p_opt.error:
        regen

        * test/run_test.sh:
        there's no standard wording for the options-errors from getopt;
        filter that to "error message" in the test reference files.

        * main.c:
        provide for using getopt(), to accommodate a case where developers have
        relied upon non-POSIX behavior.

        * test/run_test.sh:
        getopt's messages do not print the full pathname of yacc in some cases;
        adjust the sed-script which changes those to "YACC"

        * configure: regen

        * config_h.in: regen, using autoheader-252

        * configure.in: add configure check for getopt

        * configure: regen

        * aclocal.m4:
        resync with my-autoconf adds a fix which accommodates a difference in
        warning options between gcc/clang when --enable-warnings is not set.

        * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
        bump

2019-09-11  Thomas E. Dickey  <dickey%invisible-island.net@localhost>

        * config.guess, config.sub: 2019-09-10

diffstat:

 external/bsd/byacc/dist/CHANGES                               |   227 +-
 external/bsd/byacc/dist/LICENSE                               |    10 +
 external/bsd/byacc/dist/MANIFEST                              |    94 +-
 external/bsd/byacc/dist/VERSION                               |     2 +-
 external/bsd/byacc/dist/aclocal.m4                            |   337 +-
 external/bsd/byacc/dist/configure                             |  3295 +++++----
 external/bsd/byacc/dist/configure.in                          |    13 +-
 external/bsd/byacc/dist/package/byacc.spec                    |     4 +-
 external/bsd/byacc/dist/package/debian/changelog              |    36 +
 external/bsd/byacc/dist/package/debian/compat                 |     2 +-
 external/bsd/byacc/dist/package/debian/copyright              |     6 +-
 external/bsd/byacc/dist/package/mingw-byacc.spec              |     4 +-
 external/bsd/byacc/dist/package/pkgsrc/Makefile               |     2 +-
 external/bsd/byacc/dist/test/btyacc/calc_code_all.output      |   485 +
 external/bsd/byacc/dist/test/btyacc/calc_code_all.tab.c       |  1504 ++++
 external/bsd/byacc/dist/test/btyacc/calc_code_all.tab.h       |    20 +
 external/bsd/byacc/dist/test/btyacc/calc_code_default.output  |   485 +
 external/bsd/byacc/dist/test/btyacc/calc_code_default.tab.c   |  1484 ++++
 external/bsd/byacc/dist/test/btyacc/calc_code_default.tab.h   |    10 +
 external/bsd/byacc/dist/test/btyacc/calc_code_imports.output  |   485 +
 external/bsd/byacc/dist/test/btyacc/calc_code_imports.tab.c   |  1476 ++++
 external/bsd/byacc/dist/test/btyacc/calc_code_imports.tab.h   |    10 +
 external/bsd/byacc/dist/test/btyacc/calc_code_provides.output |   485 +
 external/bsd/byacc/dist/test/btyacc/calc_code_provides.tab.c  |  1484 ++++
 external/bsd/byacc/dist/test/btyacc/calc_code_provides.tab.h  |    16 +
 external/bsd/byacc/dist/test/btyacc/calc_code_requires.output |   485 +
 external/bsd/byacc/dist/test/btyacc/calc_code_requires.tab.c  |  1484 ++++
 external/bsd/byacc/dist/test/btyacc/calc_code_requires.tab.h  |    16 +
 external/bsd/byacc/dist/test/btyacc/calc_code_top.output      |   485 +
 external/bsd/byacc/dist/test/btyacc/calc_code_top.tab.c       |  1484 ++++
 external/bsd/byacc/dist/test/btyacc/calc_code_top.tab.h       |    10 +
 external/bsd/byacc/dist/test/btyacc/defines1.calc.c           |     6 +-
 external/bsd/byacc/dist/test/btyacc/defines2.calc.c           |     6 +-
 external/bsd/byacc/dist/test/btyacc/defines3.calc.c           |     6 +-
 external/bsd/byacc/dist/test/btyacc/help.error                |     1 +
 external/bsd/byacc/dist/test/btyacc/no_b_opt.error            |     1 +
 external/bsd/byacc/dist/test/btyacc/no_output2.error          |     1 +
 external/bsd/byacc/dist/test/btyacc/no_p_opt.error            |     1 +
 external/bsd/byacc/dist/test/btyacc/stdin1.calc.c             |     6 +-
 external/bsd/byacc/dist/test/btyacc/stdin2.calc.c             |     6 +-
 external/bsd/byacc/dist/test/calc_code_all.y                  |   115 +
 external/bsd/byacc/dist/test/calc_code_default.y              |   111 +
 external/bsd/byacc/dist/test/calc_code_imports.y              |   111 +
 external/bsd/byacc/dist/test/calc_code_provides.y             |   111 +
 external/bsd/byacc/dist/test/calc_code_requires.y             |   111 +
 external/bsd/byacc/dist/test/calc_code_top.y                  |   111 +
 external/bsd/byacc/dist/test/grammar.y                        |     6 +-
 external/bsd/byacc/dist/test/run_make.sh                      |     4 +-
 external/bsd/byacc/dist/test/run_test.sh                      |     5 +-
 external/bsd/byacc/dist/test/yacc/calc_code_all.output        |   461 +
 external/bsd/byacc/dist/test/yacc/calc_code_all.tab.c         |   701 ++
 external/bsd/byacc/dist/test/yacc/calc_code_all.tab.h         |    15 +
 external/bsd/byacc/dist/test/yacc/calc_code_default.output    |   461 +
 external/bsd/byacc/dist/test/yacc/calc_code_default.tab.c     |   681 ++
 external/bsd/byacc/dist/test/yacc/calc_code_default.tab.h     |     5 +
 external/bsd/byacc/dist/test/yacc/calc_code_imports.output    |   461 +
 external/bsd/byacc/dist/test/yacc/calc_code_imports.tab.c     |   673 ++
 external/bsd/byacc/dist/test/yacc/calc_code_imports.tab.h     |     5 +
 external/bsd/byacc/dist/test/yacc/calc_code_provides.output   |   461 +
 external/bsd/byacc/dist/test/yacc/calc_code_provides.tab.c    |   681 ++
 external/bsd/byacc/dist/test/yacc/calc_code_provides.tab.h    |    11 +
 external/bsd/byacc/dist/test/yacc/calc_code_requires.output   |   461 +
 external/bsd/byacc/dist/test/yacc/calc_code_requires.tab.c    |   681 ++
 external/bsd/byacc/dist/test/yacc/calc_code_requires.tab.h    |    11 +
 external/bsd/byacc/dist/test/yacc/calc_code_top.output        |   461 +
 external/bsd/byacc/dist/test/yacc/calc_code_top.tab.c         |   681 ++
 external/bsd/byacc/dist/test/yacc/calc_code_top.tab.h         |     5 +
 external/bsd/byacc/dist/test/yacc/defines1.calc.c             |     6 +-
 external/bsd/byacc/dist/test/yacc/defines2.calc.c             |     6 +-
 external/bsd/byacc/dist/test/yacc/defines3.calc.c             |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax1.tab.c           |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax13.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax14.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax15.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax16.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax17.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax19.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax2.tab.c           |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax21.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax22.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax23.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax24.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax25.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax26.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax27.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax3.tab.c           |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax4.tab.c           |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax5.tab.c           |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax6.tab.c           |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax7.tab.c           |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax7a.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax7b.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax8.tab.c           |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax8a.tab.c          |     6 +-
 external/bsd/byacc/dist/test/yacc/err_syntax9.tab.c           |     6 +-
 external/bsd/byacc/dist/test/yacc/help.error                  |     1 +
 external/bsd/byacc/dist/test/yacc/no_b_opt.error              |     1 +
 external/bsd/byacc/dist/test/yacc/no_output2.error            |     1 +
 external/bsd/byacc/dist/test/yacc/no_p_opt.error              |     1 +
 external/bsd/byacc/dist/test/yacc/stdin1.calc.c               |     6 +-
 external/bsd/byacc/dist/test/yacc/stdin2.calc.c               |     6 +-
 101 files changed, 22079 insertions(+), 1680 deletions(-)

diffs (truncated from 28199 to 300 lines):

diff -r 4e7e6e04443e -r 08bf5ca90783 external/bsd/byacc/dist/CHANGES
--- a/external/bsd/byacc/dist/CHANGES   Sat Feb 20 19:56:44 2021 +0000
+++ b/external/bsd/byacc/dist/CHANGES   Sat Feb 20 20:30:06 2021 +0000
@@ -1,3 +1,228 @@
+2021-01-09  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * package/debian/copyright, VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
+       bump
+
+2021-01-05  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * configure: regen
+
+       * aclocal.m4: resync with my-autoconf
+
+2020-09-22  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * closure.c, warshall.c:
+       fix undefined-behavior diagnosed with gcc -fsanitize=undefined (report by
+       Alexander Richardson)
+
+2020-09-10  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * LICENSE: RCS_BASE
+
+       * reader.c, output.c: cppcheck -- reduce scope
+
+       * defs.h: update to 2.0
+
+       * test/btyacc/btyacc_calc1.tab.c, test/btyacc/btyacc_demo.tab.c, test/btyacc/btyacc_destroy1.tab.c, test/btyacc/btyacc_destroy2.tab.c, test/btyacc/btyacc_destroy3.tab.c, 
test/btyacc/calc.tab.c, test/btyacc/calc1.tab.c, test/btyacc/calc2.tab.c, test/btyacc/calc3.tab.c, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_default.tab.c, 
test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_provides.tab.c, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_top.tab.c, test/btyacc/code_calc.code.c, 
test/btyacc/code_error.code.c, test/btyacc/defines1.calc.c, test/btyacc/defines2.calc.c, test/btyacc/defines3.calc.c, test/btyacc/empty.tab.c, test/btyacc/err_inherit1.tab.c, 
test/btyacc/err_inherit2.tab.c, test/btyacc/err_inherit3.tab.c, test/btyacc/err_inherit4.tab.c, test/btyacc/err_inherit5.tab.c, test/btyacc/err_syntax1.tab.c, test/btyacc/err_syntax10.tab.c, 
test/btyacc/err_syntax11.tab.c, test/btyacc/err_syntax12.tab.c, test/btyacc/err_syntax13.tab.c, test/btyacc/err_syntax14.tab.c, test/btyacc/err_syntax15.tab.c, test/btyacc/err_syntax16.tab.c, 
test/btyacc/err_syntax17.tab.c, test/btyacc/err_syntax18.tab.c, test/btyacc/err_syntax19.tab.c, test/btyacc/err_syntax2.tab.c, test/btyacc/err_syntax20.tab.c, test/btyacc/err_syntax21.tab.c, 
test/btyacc/err_syntax22.tab.c, test/btyacc/err_syntax23.tab.c, test/btyacc/err_syntax24.tab.c, test/btyacc/err_syntax25.tab.c, test/btyacc/err_syntax26.tab.c, test/btyacc/err_syntax27.tab.c, 
test/btyacc/err_syntax3.tab.c, test/btyacc/err_syntax4.tab.c, test/btyacc/err_syntax5.tab.c, test/btyacc/err_syntax6.tab.c, test/btyacc/err_syntax7.tab.c, test/btyacc/err_syntax7a.tab.c, 
test/btyacc/err_syntax7b.tab.c, test/btyacc/err_syntax8.tab.c, test/btyacc/err_syntax8a.tab.c, test/btyacc/err_syntax9.tab.c, test/btyacc/error.tab.c, test/btyacc/expr.oxout.tab.c, 
test/btyacc/grammar.tab.c, test/btyacc/inherit0.tab.c, test/btyacc/inherit1.tab.c, test/btyacc/inherit2.tab.c, test/btyacc/ok_syntax1.tab.c, test/btyacc/pure_calc.tab.c, test/btyacc/pure_error.tab.c, 
test/btyacc/quote_calc-s.tab.c, test/btyacc/quote_calc.tab.c, test/btyacc/quote_calc2-s.tab.c, test/btyacc/quote_calc2.tab.c, test/btyacc/quote_calc3-s.tab.c, test/btyacc/quote_calc3.tab.c, 
test/btyacc/quote_calc4-s.tab.c, test/btyacc/quote_calc4.tab.c, test/btyacc/rename_debug.c, test/btyacc/stdin1.calc.c, test/btyacc/stdin2.calc.c, test/btyacc/varsyntax_calc1.tab.c, 
test/yacc/calc.tab.c, test/yacc/calc1.tab.c, test/yacc/calc2.tab.c, test/yacc/calc3.tab.c, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_default.tab.c, test/yacc/calc_code_imports.tab.c, 
test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_top.tab.c, test/yacc/code_calc.code.c, test/yacc/code_error.code.c, test/yacc/defines1.calc.c, 
test/yacc/defines2.calc.c, test/yacc/defines3.calc.c, test/yacc/empty.tab.c, test/yacc/err_syntax1.tab.c, test/yacc/err_syntax10.tab.c, test/yacc/err_syntax11.tab.c, test/yacc/err_syntax12.tab.c, 
test/yacc/err_syntax13.tab.c, test/yacc/err_syntax14.tab.c, test/yacc/err_syntax15.tab.c, test/yacc/err_syntax16.tab.c, test/yacc/err_syntax17.tab.c, test/yacc/err_syntax18.tab.c, 
test/yacc/err_syntax19.tab.c, test/yacc/err_syntax2.tab.c, test/yacc/err_syntax20.tab.c, test/yacc/err_syntax21.tab.c, test/yacc/err_syntax22.tab.c, test/yacc/err_syntax23.tab.c, 
test/yacc/err_syntax24.tab.c, test/yacc/err_syntax25.tab.c, test/yacc/err_syntax26.tab.c, test/yacc/err_syntax27.tab.c, test/yacc/err_syntax3.tab.c, test/yacc/err_syntax4.tab.c, 
test/yacc/err_syntax5.tab.c, test/yacc/err_syntax6.tab.c, test/yacc/err_syntax7.tab.c, test/yacc/err_syntax7a.tab.c, test/yacc/err_syntax7b.tab.c, test/yacc/err_syntax8.tab.c, 
test/yacc/err_syntax8a.tab.c, test/yacc/err_syntax9.tab.c, test/yacc/error.tab.c, test/yacc/expr.oxout.tab.c, test/yacc/grammar.tab.c, test/yacc/ok_syntax1.tab.c, test/yacc/pure_calc.tab.c, 
test/yacc/pure_error.tab.c, test/yacc/quote_calc-s.tab.c, test/yacc/quote_calc.tab.c, test/yacc/quote_calc2-s.tab.c, test/yacc/quote_calc2.tab.c, test/yacc/quote_calc3-s.tab.c, 
test/yacc/quote_calc3.tab.c, test/yacc/quote_calc4-s.tab.c, test/yacc/quote_calc4.tab.c, test/yacc/rename_debug.c, test/yacc/stdin1.calc.c, test/yacc/stdin2.calc.c, test/yacc/varsyntax_calc1.tab.c:
+       update to version 2.0
+
+       * reader.c:
+       improve loop which skips backward through a (possibly nested) sequence of
+       square-brackets.
+
+       * reader.c: simplify a check to quiet a bogus cppcheck-warning
+
+       * yacc.1: bump date
+
+       * reader.c: add a note about a bogus cppcheck warning
+
+       * configure: regen
+
+       * configure.in:
+       always check for gcc attributes, to work around defect in clang's imitation
+       of this feature
+
+       * reader.c: cppcheck -- scope reduction
+       cppcheck -- eliminate bogus returns after no-return functions
+
+       * verbose.c, output.c, mkpar.c, main.c, warshall.c, lr0.c, lalr.c, graph.c, closure.c:
+       cppcheck -- scope reduction
+
+       * package/debian/compat: quiet compatibility-warning
+
+       * yacc.1: use "ASCII" for dashes which are part of proper names
+
+       * configure: regen
+
+       * configure.in: switch to --enable-warnings, for consistency
+
+       * aclocal.m4:
+       resync with my-autoconf, for compiler-warning fixes with macOS
+
+       * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
+       bump
+
+2020-08-16  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * config.guess, config.sub: 2020-08-17
+
+2020-06-28  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * config.sub: 2020/06/28
+
+2020-06-14  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * config.guess: 2020/04/26
+
+2020-03-30  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * package/debian/copyright: bump
+
+       * test/yacc/grammar.tab.c, test/btyacc/grammar.tab.c, test/grammar.y, reader.c:
+       typo found with codespell
+
+       * yacc.1: fixes noted in the original report, overlooked in followup
+
+2020-03-30  Bjarni.Ingi.Gislason
+
+       * yacc.1: typography/spelling fixes - Debian #955175
+
+2020-03-30  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
+       bump
+
+2020-03-10  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * configure: regen
+
+       * aclocal.m4:
+       resync with my-autoconf, mostly fixes for compiler-warnings
+
+       * configure.in: use macro to suppress X-dependency from newer macros
+
+2019-12-20  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * config.guess: 2019-12-21
+
+2019-11-25  Tom.Shields
+
+       * main.c:
+       fix an inconsistency between the getopt and non-getopt configuration.
+       In the former, getopt always used "yacc", not the name of the executable.
+
+2019-11-25  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * test/run_make.sh:
+       suppress bison's -Wyacc warning, which is not useful.
+
+       * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
+       bump
+
+2019-11-19  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * yacc.1: new version of manpage
+
+       * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
+       bump
+
+       * yacc.1: document %code
+
+       * test/btyacc/calc_code_all.error, test/btyacc/calc_code_all.output, test/btyacc/calc_code_all.tab.c, test/btyacc/calc_code_all.tab.h, test/btyacc/calc_code_default.error, 
test/btyacc/calc_code_default.output, test/btyacc/calc_code_default.tab.c, test/btyacc/calc_code_default.tab.h, test/btyacc/calc_code_imports.error, test/btyacc/calc_code_imports.output, 
test/btyacc/calc_code_imports.tab.c, test/btyacc/calc_code_imports.tab.h, test/btyacc/calc_code_provides.error, test/btyacc/calc_code_provides.output, test/btyacc/calc_code_provides.tab.c, 
test/btyacc/calc_code_provides.tab.h, test/btyacc/calc_code_requires.error, test/btyacc/calc_code_requires.output, test/btyacc/calc_code_requires.tab.c, test/btyacc/calc_code_requires.tab.h, 
test/btyacc/calc_code_top.error, test/btyacc/calc_code_top.output, test/btyacc/calc_code_top.tab.c, test/btyacc/calc_code_top.tab.h, test/yacc/calc_code_all.tab.c, test/yacc/calc_code_all.tab.h, 
test/yacc/calc_code_default.tab.c, test/yacc/calc_code_provides.tab.c, test/yacc/calc_code_provides.tab.h, test/yacc/calc_code_requires.tab.c, test/yacc/calc_code_requires.tab.h, 
test/yacc/calc_code_top.tab.c:
+       RCS_BASE
+
+       * output.c:
+       amend updates for 'outline' when processing "%code" in code-file
+
+       * output.c:
+       modify output_code_lines() to show begin/end block comments which were in
+       reader.c, and to generate a #line for the code-file.
+
+       * reader.c:
+       modify copy_code() to allow for multiple %code directives for a given
+       section, recording the input line-number for each directive as a #line
+       in the resulting string.  remove the block start/end comments, since those
+       will be done for a whole section in output.c
+
+       * mstring.c, defs.h: add msrenew()
+
+       * test/yacc/calc_code_all.error, test/yacc/calc_code_all.output, test/yacc/calc_code_default.error, test/yacc/calc_code_default.output, test/yacc/calc_code_default.tab.h, 
test/yacc/calc_code_imports.error, test/yacc/calc_code_imports.output, test/yacc/calc_code_imports.tab.c, test/yacc/calc_code_imports.tab.h, test/yacc/calc_code_provides.error, 
test/yacc/calc_code_provides.output, test/yacc/calc_code_requires.error, test/yacc/calc_code_requires.output, test/yacc/calc_code_top.error, test/yacc/calc_code_top.output, 
test/yacc/calc_code_top.tab.h:
+       RCS_BASE
+
+2019-11-18  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * test/calc_code_imports.y, test/calc_code_all.y, test/calc_code_default.y, test/calc_code_top.y, test/calc_code_provides.y, test/calc_code_requires.y:
+       RCS_BASE
+
+2019-11-04  Michael.Forney
+
+       * defs.h: add missing "extern" for new variable "code_lines"
+
+2019-11-03  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * main.c: build-fix for MinGW cross-compiling
+
+       * output.c, reader.c: gcc-warnings
+
+       * output.c: check validity of text_file before rewind
+       remove redundant check of iflag
+
+       * main.c: fix memory-leak reported by clang
+
+       * mkpar.c: guard against a null-reference reported by clang (unlikely)
+
+       * reader.c: fix two coverity warnings:
+       a) resource leak on malloc-failure
+       b) possible null-pointer dereference on parse-error
+
+       * test/btyacc/err_inherit4.tab.h, test/btyacc/btyacc_demo.tab.h: regen
+
+       * defs.h: use enum's to simplify recent change
+
+       * mstring.c:
+       enable mstring() in regular byacc, since Zoulas' change relies upon it
+
+2019-11-03  Christos.Zoulas
+
+       * defs.h, reader.c, output.c: add support for bison's "%code" feature
+       also fix a small bug: declare YYLTYPE externally when producing locations
+
+2019-11-03  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * test/btyacc/help.error, test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, 
test/yacc/no_p_opt.error:
+       regen
+
+       * test/run_test.sh:
+       there's no standard wording for the options-errors from getopt;
+       filter that to "error message" in the test reference files.
+
+       * main.c:
+       provide for using getopt(), to accommodate a case where developers have
+       relied upon non-POSIX behavior.
+
+       * test/run_test.sh:
+       getopt's messages do not print the full pathname of yacc in some cases;
+       adjust the sed-script which changes those to "YACC"
+
+       * configure: regen
+
+       * config_h.in: regen, using autoheader-252
+
+       * configure.in: add configure check for getopt
+
+       * configure: regen
+
+       * aclocal.m4:
+       resync with my-autoconf adds a fix which accommodates a difference in
+       warning options between gcc/clang when --enable-warnings is not set.
+
+       * VERSION, package/byacc.spec, package/debian/changelog, package/mingw-byacc.spec, package/pkgsrc/Makefile:
+       bump
+
+2019-09-11  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
+
+       * config.guess, config.sub: 2019-09-10
+
 2019-06-17  Thomas E. Dickey  <dickey%invisible-island.net@localhost>
 
        * test/btyacc/big_b.error, test/btyacc/big_l.error, test/btyacc/help.error, test/btyacc/no_b_opt.error, test/btyacc/no_output2.error, test/btyacc/no_p_opt.error, test/btyacc/nostdin.error, 
test/yacc/big_b.error, test/yacc/big_l.error, test/yacc/help.error, test/yacc/no_b_opt.error, test/yacc/no_output2.error, test/yacc/no_p_opt.error, test/yacc/nostdin.error:
@@ -1559,7 +1784,7 @@
        * package/debian/changelog, VERSION, package/byacc.spec: bump
 
        * aclocal.m4:
-       adapt tweak from Dave Becket to work around long-ago breakage in "new" autoconf.
+       adapt tweak from Dave Beckett 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).
diff -r 4e7e6e04443e -r 08bf5ca90783 external/bsd/byacc/dist/LICENSE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/byacc/dist/LICENSE   Sat Feb 20 20:30:06 2021 +0000
@@ -0,0 +1,10 @@
+     Berkeley Yacc is distributed with no warranty whatever.  The author
+and any other contributors take no responsibility for the consequences of
+its use.
+
+    Berkeley Yacc is in the public domain.  The data structures and algorithms
+used in Berkeley Yacc are all either taken from documents available to the
+general public or are inventions of the author.  Anyone may freely distribute
+source or binary forms of Berkeley Yacc whether unchanged or modified.
+Distributers may charge whatever fees they can obtain for Berkeley Yacc.
+Programs generated by Berkeley Yacc may be distributed freely.
diff -r 4e7e6e04443e -r 08bf5ca90783 external/bsd/byacc/dist/MANIFEST
--- a/external/bsd/byacc/dist/MANIFEST  Sat Feb 20 19:56:44 2021 +0000
+++ b/external/bsd/byacc/dist/MANIFEST  Sat Feb 20 20:30:06 2021 +0000
@@ -1,8 +1,9 @@
-MANIFEST for byacc-20190617, version t20190617
+MANIFEST for byacc-20210109, version t20210109
 --------------------------------------------------------------------------------
 MANIFEST                        this file
 ACKNOWLEDGEMENTS                original version of byacc - 1993
 AUTHORS                         nicknames for some contributors (see CHANGES for details)
+LICENSE                         summary of byacc's license
 Makefile.old                    renamed from Makefile
 NEW_FEATURES                    original version of byacc - 1993
 NOTES                           original version of byacc - 1993
@@ -105,6 +106,30 @@
 test/btyacc/calc3.output        reference output for testing
 test/btyacc/calc3.tab.c         reference output for testing
 test/btyacc/calc3.tab.h         reference output for testing
+test/btyacc/calc_code_all.error reference output for testing
+test/btyacc/calc_code_all.output  reference output for testing
+test/btyacc/calc_code_all.tab.c reference output for testing
+test/btyacc/calc_code_all.tab.h reference output for testing
+test/btyacc/calc_code_default.error  reference output for testing
+test/btyacc/calc_code_default.output  reference output for testing
+test/btyacc/calc_code_default.tab.c  reference output for testing
+test/btyacc/calc_code_default.tab.h  reference output for testing
+test/btyacc/calc_code_imports.error  reference output for testing
+test/btyacc/calc_code_imports.output  reference output for testing
+test/btyacc/calc_code_imports.tab.c  reference output for testing
+test/btyacc/calc_code_imports.tab.h  reference output for testing
+test/btyacc/calc_code_provides.error  reference output for testing
+test/btyacc/calc_code_provides.output  reference output for testing
+test/btyacc/calc_code_provides.tab.c  reference output for testing
+test/btyacc/calc_code_provides.tab.h  reference output for testing
+test/btyacc/calc_code_requires.error  reference output for testing
+test/btyacc/calc_code_requires.output  reference output for testing
+test/btyacc/calc_code_requires.tab.c  reference output for testing
+test/btyacc/calc_code_requires.tab.h  reference output for testing
+test/btyacc/calc_code_top.error reference output for testing
+test/btyacc/calc_code_top.output  reference output for testing
+test/btyacc/calc_code_top.tab.c reference output for testing
+test/btyacc/calc_code_top.tab.h reference output for testing
 test/btyacc/code_calc.code.c    reference output for testing
 test/btyacc/code_calc.error     reference output for testing
 test/btyacc/code_calc.output    reference output for testing



Home | Main Index | Thread Index | Old Index