As recently discovered, with %locations enabled, compilers that are not compatible with GCC will report a syntax error. This is serious enough to prompt for a 2.7.1 release.
This is a first batch to patches installed in maint. Some of them were cherry-picked from master. Akim Demaille (10): tests: style changes yacc.c: do not use __attribute__ unprotected lalr1.cc: fix compiler warnings skeletons: avoid empty switch constructs gnulib: update tests: please clang and use ".cc", not ".c", for C++ input build: avoid clang's colored diagnostics in the test suite build: fix VPATH issue maint: update copyright years glr.cc: fix a clang warning AUTHORS | 2 +- ChangeLog-2012 | 2 +- Makefile.am | 9 ++--- NEWS | 9 ++++- PACKAGING | 2 +- README | 2 +- README-alpha | 2 +- README-hacking | 2 +- THANKS | 4 +- TODO | 2 +- bootstrap | 65 ++++++++++++++++--------------- bootstrap.conf | 2 +- build-aux/Makefile.am | 2 +- build-aux/darwin11.4.0.valgrind | 2 +- build-aux/update-b4-copyright | 2 +- build-aux/update-package-copyright-year | 2 +- cfg.mk | 2 +- configure.ac | 28 ++++++++++---- data/Makefile.am | 2 +- data/README | 2 +- data/bison.m4 | 2 +- data/c++-skel.m4 | 2 +- data/c++.m4 | 2 +- data/c-like.m4 | 2 +- data/c-skel.m4 | 2 +- data/c.m4 | 68 ++++++++++++++++++++++----------- data/glr.c | 25 ++---------- data/glr.cc | 14 +++---- data/java-skel.m4 | 2 +- data/java.m4 | 2 +- data/lalr1.cc | 30 ++++++--------- data/lalr1.java | 4 +- data/location.cc | 6 +-- data/stack.hh | 14 +++++-- data/xslt/bison.xsl | 2 +- data/xslt/xml2dot.xsl | 2 +- data/xslt/xml2text.xsl | 2 +- data/xslt/xml2xhtml.xsl | 2 +- data/yacc.c | 13 ++----- djgpp/Makefile.maint | 2 +- djgpp/README.in | 2 +- djgpp/config.bat | 2 +- djgpp/config.sed | 2 +- djgpp/config.site | 2 +- djgpp/config_h.sed | 2 +- djgpp/djunpack.bat | 2 +- djgpp/subpipe.c | 2 +- djgpp/subpipe.h | 2 +- djgpp/testsuite.sed | 2 +- doc/Makefile.am | 2 +- doc/bison.texi | 2 +- doc/refcard.tex | 2 +- etc/Makefile.am | 2 +- etc/README | 2 +- etc/bench.pl.in | 2 +- examples/Makefile.am | 2 +- examples/calc++/Makefile.am | 2 +- examples/calc++/test | 2 +- examples/extexi | 2 +- gnulib | 2 +- lib/.gitignore | 1 - lib/Makefile.am | 2 +- lib/abitset.c | 2 +- lib/abitset.h | 2 +- lib/bbitset.h | 2 +- lib/bitset.c | 2 +- lib/bitset.h | 2 +- lib/bitset_stats.c | 2 +- lib/bitset_stats.h | 2 +- lib/bitsetv-print.c | 2 +- lib/bitsetv-print.h | 2 +- lib/bitsetv.c | 2 +- lib/bitsetv.h | 2 +- lib/ebitset.c | 2 +- lib/ebitset.h | 2 +- lib/get-errno.c | 2 +- lib/get-errno.h | 2 +- lib/lbitset.c | 2 +- lib/lbitset.h | 2 +- lib/libiberty.h | 2 +- lib/main.c | 2 +- lib/timevar.c | 2 +- lib/timevar.def | 2 +- lib/timevar.h | 2 +- lib/vbitset.c | 2 +- lib/vbitset.h | 2 +- lib/yyerror.c | 2 +- m4/bison-i18n.m4 | 2 +- m4/c-working.m4 | 2 +- m4/cxx.m4 | 2 +- m4/flex.m4 | 2 +- m4/timevar.m4 | 2 +- src/AnnotationList.c | 2 +- src/AnnotationList.h | 2 +- src/InadequacyList.c | 2 +- src/InadequacyList.h | 2 +- src/LR0.c | 2 +- src/LR0.h | 2 +- src/Makefile.am | 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/derives.c | 2 +- src/derives.h | 2 +- src/files.c | 2 +- src/files.h | 2 +- src/flex-scanner.h | 2 +- src/getargs.c | 2 +- src/getargs.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/location.c | 2 +- src/location.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 | 2 +- src/output.h | 2 +- src/parse-gram.c | 2 +- src/parse-gram.y | 2 +- src/print-xml.c | 2 +- src/print-xml.h | 2 +- src/print.c | 2 +- src/print.h | 2 +- src/print_graph.c | 2 +- src/print_graph.h | 2 +- src/reader.c | 2 +- src/reader.h | 2 +- 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 | 2 +- src/scan-skel.h | 2 +- src/scan-skel.l | 2 +- src/state.c | 2 +- src/state.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 | 2 +- src/tables.h | 2 +- src/uniqstr.c | 2 +- src/uniqstr.h | 2 +- tests/Makefile.am | 2 +- tests/actions.at | 2 +- tests/atlocal.in | 2 +- tests/bison.in | 2 +- tests/c++.at | 2 +- tests/calc.at | 2 +- tests/conflicts.at | 2 +- tests/cxx-type.at | 2 +- tests/existing.at | 2 +- tests/glr-regression.at | 6 +-- tests/headers.at | 2 +- tests/input.at | 2 +- tests/java.at | 2 +- tests/local.at | 6 +-- tests/named-refs.at | 2 +- tests/output.at | 8 ++-- tests/push.at | 2 +- tests/reduce.at | 2 +- tests/regression.at | 2 +- tests/sets.at | 2 +- tests/skeletons.at | 2 +- tests/synclines.at | 2 +- tests/testsuite.at | 2 +- tests/torture.at | 2 +- 190 files changed, 341 insertions(+), 315 deletions(-) -- 1.8.2
