I have cherry-picked (and adjusted when needed) the following commits from the master branch. I was about to release 3.7.5, but it appears that there is a serious issue that needs to be studied before (https://github.com/akimd/bison/issues/72).
Akim Demaille (21): c: adjust _Noreturn to pedantic clang autoconf: update c++: use noexcept where appropriate tables: avoid warnings and save bits glr.cc: don't "leak" yyparse c++: I'm tired of Flex's warnings cex: send traces to stderr, not stdout cex: add support for $TIME_LIMIT cex: fix traces: add missing end-of-lines cex: fix traces: fix display of disabled items package: codespell style: YYUSE is private, make it YY_USE skeletons: introduce "slot"s for symbols %merge: clearer tests on diagnostics %merge: let mergers record a typing-symbol, rather than a type %merge: delegate the generation of calls to mergers to m4 %merge: fix compatibility with api.value.type=union %merge: associate it to its first definition, not the latest package: bump copyrights to 2021 news: update package: pacify syntax-check Martin Rehak (1): examples: avoid "unbound variable" errors AUTHORS | 2 +- ChangeLog-2012 | 2 +- Makefile.am | 5 +- NEWS | 11 +- PACKAGING | 2 +- README | 2 +- README-alpha | 2 +- README-hacking.md | 2 +- THANKS | 2 +- TODO | 2 +- bootstrap.conf | 2 +- build-aux/Darwin.valgrind | 2 +- build-aux/Linux.valgrind | 2 +- build-aux/cross-options.pl | 2 +- build-aux/local.mk | 2 +- build-aux/update-b4-copyright | 2 +- build-aux/update-package-copyright-year | 2 +- build-aux/update-test | 2 +- cfg.mk | 3 +- configure.ac | 4 +- data/README.md | 10 +- data/bison-default.css | 2 +- data/local.mk | 2 +- data/skeletons/bison.m4 | 18 +- data/skeletons/c++-skel.m4 | 2 +- data/skeletons/c++.m4 | 8 +- data/skeletons/c-like.m4 | 2 +- data/skeletons/c-skel.m4 | 2 +- data/skeletons/c.m4 | 30 +-- data/skeletons/d-skel.m4 | 2 +- data/skeletons/d.m4 | 2 +- data/skeletons/glr.c | 35 ++- data/skeletons/glr.cc | 12 +- data/skeletons/java-skel.m4 | 2 +- data/skeletons/java.m4 | 2 +- data/skeletons/lalr1.cc | 14 +- data/skeletons/lalr1.d | 4 +- data/skeletons/lalr1.java | 4 +- data/skeletons/location.cc | 4 +- data/skeletons/stack.hh | 2 +- data/skeletons/variant.hh | 2 +- data/skeletons/yacc.c | 4 +- data/xslt/bison.xsl | 2 +- data/xslt/xml2dot.xsl | 2 +- data/xslt/xml2text.xsl | 2 +- data/xslt/xml2xhtml.xsl | 2 +- doc/bison.texi | 28 ++- doc/local.mk | 2 +- doc/refcard.tex | 2 +- etc/README.md | 2 +- etc/bench.pl.in | 2 +- etc/local.mk | 2 +- examples/README.md | 2 +- examples/c++/README.md | 2 +- examples/c++/calc++/README.md | 2 +- examples/c++/calc++/calc++.test | 2 +- examples/c++/calc++/local.mk | 2 +- examples/c++/local.mk | 2 +- examples/c++/variant-11.test | 2 +- examples/c++/variant-11.yy | 2 +- examples/c++/variant.test | 2 +- examples/c++/variant.yy | 2 +- examples/c/README.md | 2 +- examples/c/bistromathic/README.md | 2 +- examples/c/bistromathic/bistromathic.test | 2 +- examples/c/bistromathic/local.mk | 2 +- examples/c/bistromathic/parse.y | 2 +- examples/c/calc/README.md | 2 +- examples/c/calc/calc.test | 2 +- examples/c/calc/local.mk | 2 +- examples/c/lexcalc/README.md | 2 +- examples/c/lexcalc/lexcalc.test | 2 +- examples/c/lexcalc/local.mk | 2 +- examples/c/lexcalc/parse.y | 2 +- examples/c/lexcalc/scan.l | 2 +- examples/c/local.mk | 2 +- examples/c/mfcalc/local.mk | 2 +- examples/c/mfcalc/mfcalc.test | 2 +- examples/c/pushcalc/README.md | 2 +- examples/c/pushcalc/calc.test | 2 +- examples/c/pushcalc/calc.y | 2 +- examples/c/pushcalc/local.mk | 2 +- examples/c/reccalc/README.md | 2 +- examples/c/reccalc/local.mk | 2 +- examples/c/reccalc/parse.y | 2 +- examples/c/reccalc/reccalc.test | 2 +- examples/c/reccalc/scan.l | 2 +- examples/c/rpcalc/local.mk | 2 +- examples/c/rpcalc/rpcalc.test | 2 +- examples/d/README.md | 2 +- examples/d/calc.test | 2 +- examples/d/calc.y | 2 +- examples/d/local.mk | 2 +- examples/extexi | 2 +- examples/java/README.md | 2 +- examples/java/calc/Calc.test | 2 +- examples/java/calc/Calc.y | 2 +- examples/java/calc/local.mk | 2 +- examples/java/local.mk | 2 +- examples/java/simple/Calc.test | 2 +- examples/java/simple/Calc.y | 2 +- examples/java/simple/local.mk | 2 +- examples/local.mk | 2 +- examples/test | 3 +- lib/get-errno.c | 2 +- lib/get-errno.h | 2 +- lib/local.mk | 2 +- lib/main.c | 2 +- lib/path-join.c | 2 +- lib/path-join.h | 2 +- lib/timevar.def | 2 +- lib/yyerror.c | 2 +- m4/bison-check-compiler-flag.m4 | 2 +- m4/bison-cxx-std.m4 | 2 +- m4/bison-i18n.m4 | 2 +- m4/c-working.m4 | 2 +- m4/cxx.m4 | 2 +- m4/flex.m4 | 2 +- src/AnnotationList.c | 2 +- src/AnnotationList.h | 2 +- src/InadequacyList.c | 2 +- src/InadequacyList.h | 2 +- src/Sbitset.c | 2 +- src/Sbitset.h | 2 +- src/assoc.c | 2 +- src/assoc.h | 2 +- src/closure.c | 2 +- src/closure.h | 2 +- src/complain.c | 2 +- src/complain.h | 2 +- src/conflicts.c | 2 +- src/conflicts.h | 2 +- src/counterexample.c | 20 +- src/counterexample.h | 2 +- src/derivation.c | 2 +- src/derivation.h | 2 +- src/derives.c | 2 +- src/derives.h | 2 +- src/files.c | 2 +- src/files.h | 2 +- src/fixits.c | 2 +- src/fixits.h | 2 +- src/flex-scanner.h | 2 +- src/getargs.c | 2 +- src/getargs.h | 2 +- src/glyphs.c | 2 +- src/glyphs.h | 2 +- src/gram.c | 2 +- src/gram.h | 2 +- src/graphviz.c | 2 +- src/graphviz.h | 2 +- src/ielr.c | 2 +- src/ielr.h | 2 +- src/lalr.c | 2 +- src/lalr.h | 2 +- src/local.mk | 2 +- src/location.c | 2 +- src/location.h | 2 +- src/lr0.c | 2 +- src/lr0.h | 2 +- src/lssi.c | 15 +- src/lssi.h | 2 +- src/main.c | 2 +- src/muscle-tab.c | 2 +- src/muscle-tab.h | 2 +- src/named-ref.c | 2 +- src/named-ref.h | 2 +- src/nullable.c | 2 +- src/nullable.h | 2 +- src/output.c | 12 +- src/output.h | 2 +- src/parse-gram.c | 40 +-- src/parse-gram.h | 4 +- src/parse-gram.y | 4 +- src/parse-simulation.c | 2 +- src/parse-simulation.h | 2 +- src/print-graph.c | 2 +- src/print-graph.h | 2 +- src/print-xml.c | 2 +- src/print-xml.h | 2 +- src/print.c | 2 +- src/print.h | 2 +- src/reader.c | 50 ++-- src/reader.h | 7 +- src/reduce.c | 2 +- src/reduce.h | 2 +- src/relation.c | 2 +- src/relation.h | 2 +- src/scan-code.h | 2 +- src/scan-code.l | 2 +- src/scan-gram.h | 2 +- src/scan-gram.l | 5 +- src/scan-skel.h | 2 +- src/scan-skel.l | 2 +- src/state-item.c | 67 +++-- src/state-item.h | 2 +- src/state.c | 2 +- src/state.h | 2 +- src/strversion.c | 2 +- src/strversion.h | 2 +- src/symlist.c | 2 +- src/symlist.h | 2 +- src/symtab.c | 2 +- src/symtab.h | 2 +- src/system.h | 2 +- src/tables.c | 11 +- src/tables.h | 2 +- src/uniqstr.c | 2 +- src/uniqstr.h | 2 +- submodules/autoconf | 2 +- tests/actions.at | 10 +- tests/atlocal.in | 2 +- tests/bison.in | 2 +- tests/c++.at | 8 +- tests/calc.at | 2 +- tests/conflicts.at | 282 +++++++++++++++++++++- tests/counterexample.at | 2 +- tests/cxx-type.at | 2 +- tests/diagnostics.at | 2 +- tests/existing.at | 2 +- tests/glr-regression.at | 16 +- tests/headers.at | 4 +- tests/input.at | 2 +- tests/java.at | 2 +- tests/javapush.at | 2 +- tests/linear | 2 +- tests/local.at | 8 +- tests/local.mk | 2 +- tests/m4.at | 2 +- tests/named-refs.at | 2 +- tests/output.at | 2 +- tests/push.at | 2 +- tests/reduce.at | 2 +- tests/regression.at | 4 +- tests/report.at | 2 +- tests/scanner.at | 2 +- tests/sets.at | 2 +- tests/skeletons.at | 2 +- tests/synclines.at | 2 +- tests/testsuite.at | 2 +- tests/torture.at | 2 +- tests/types.at | 2 +- 242 files changed, 775 insertions(+), 403 deletions(-) -- 2.30.0
