mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-08-15 21:55:14 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
06d61f775a | ||
|
|
b3b1806888 | ||
|
|
3ffdd5f125 | ||
|
|
954474bfa1 | ||
|
|
122ff44429 | ||
|
|
6895eefc04 | ||
|
|
d45746a0b7 | ||
|
|
4b07bd01d8 | ||
|
|
e565556458 | ||
|
|
189ba6670f | ||
|
|
c027cccb35 | ||
|
|
a151f354cf | ||
|
|
31f8b787c0 | ||
|
|
b62042d203 | ||
|
|
0100cd629d | ||
|
|
12ff095cad | ||
|
|
67f5d55d7a | ||
|
|
ff1f7871df | ||
|
|
b733bcd00e | ||
|
|
cb76b1f1a3 | ||
|
|
4333ba11c6 | ||
|
|
48f4100a82 | ||
|
|
18493762be | ||
|
|
c7b5c7fd06 | ||
|
|
cf80e9c386 | ||
|
|
311b2e56ea | ||
|
|
895c37a5c7 | ||
|
|
08090fe64c | ||
|
|
c76f5dfb03 | ||
|
|
2ad7e09e96 | ||
|
|
a3d760ef5d | ||
|
|
22cc8d813e | ||
|
|
9398411bfc | ||
|
|
d093cf8cbd | ||
|
|
c412a490ec |
@@ -1,3 +1,375 @@
|
|||||||
|
2010-08-05 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
Version 2.4.3.
|
||||||
|
* NEWS (2.4.3): Set date.
|
||||||
|
|
||||||
|
2010-08-04 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
maint: add gettext version to release announcements.
|
||||||
|
Suggested by Paul Hilfinger at
|
||||||
|
<http://lists.gnu.org/archive/html/bison-patches/2010-07/msg00019.html>
|
||||||
|
<http://lists.gnu.org/archive/html/bison-patches/2010-08/msg00002.html>.
|
||||||
|
* cfg.mk (bootstrap-tools): Add gettext.
|
||||||
|
|
||||||
|
2010-08-04 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
doc: fix -W and %expect documentation some.
|
||||||
|
* NEWS (2.4.3): Mention that there are documentation fixes.
|
||||||
|
* doc/bison.texinfo (Expect Decl): Make it clear that %expect
|
||||||
|
turns conflicts into errors not warnings.
|
||||||
|
(Shift/Reduce): Likewise.
|
||||||
|
(Bison Options): Don't mention -Wsyntax. It doesn't exist.
|
||||||
|
|
||||||
|
2010-08-01 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
-Werror: fix for rules useless in parser after conflicts.
|
||||||
|
* NEWS (2.4.3): Document fix.
|
||||||
|
* src/complain.c (error_message): Extend to handle incomplete
|
||||||
|
error messages so warn and warn_at can be used in more cases.
|
||||||
|
* src/gram.c (grammar_rules_useless_report): Use warn_at so that
|
||||||
|
-Werror is always obeyed.
|
||||||
|
* src/reduce.c (reduce_print): Use warn so that the "warnings
|
||||||
|
being treated as errors" message is printed consistently before
|
||||||
|
the first warning message. This makes testing easier.
|
||||||
|
* tests/local.at (AT_BISON_WERROR_MSG): New macro.
|
||||||
|
(AT_BISON_CHECK_NO_XML): Extend to check -Werror and
|
||||||
|
--warnings=error when warnings appear in bison's stderr.
|
||||||
|
|
||||||
|
2010-07-29 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
maint: enable gnits only at stable releases.
|
||||||
|
* configure.ac (AM_INIT_AUTOMAKE): Underscore or dash in a
|
||||||
|
version string should disable gnits. Explain in comments.
|
||||||
|
|
||||||
|
2010-07-29 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
Prepare for 2.4.3 release.
|
||||||
|
* NEWS (2.4.3_rc1): Rename back to...
|
||||||
|
(2.4.3): ... this, and unset date.
|
||||||
|
|
||||||
|
2010-07-28 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
Version 2.4.3_rc1.
|
||||||
|
* NEWS (2.4.3): Rename to...
|
||||||
|
(2.4.3_rc1): ... this for now so we can include translation
|
||||||
|
updates in 2.4.3, and set release date.
|
||||||
|
* configure.ac (AM_INIT_AUTOMAKE): Underscore rather than dash
|
||||||
|
in version string now indicates a release candidate and that we
|
||||||
|
thus cannot enable gnits. Dash confuses git-version-gen.
|
||||||
|
|
||||||
|
2010-07-28 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
i18n: fix for gnulib.
|
||||||
|
* po/POTFILES.in: Add remaining gnulib files that have
|
||||||
|
translatable strings.
|
||||||
|
|
||||||
|
2010-07-25 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
maint: use announce-gen's new --mail-headers.
|
||||||
|
* HACKING (Announce): Update instructions.
|
||||||
|
* cfg.mk (announcement_Cc_): Define.
|
||||||
|
* configure.ac (AM_GNU_GETTEXT_VERSION): Update to 0.18 as
|
||||||
|
required by latest gnulib.
|
||||||
|
* gnulib: Update to latest.
|
||||||
|
|
||||||
|
2009-08-17 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
build: require gettext 0.17.
|
||||||
|
|
||||||
|
Suggested by Bruno Haible.
|
||||||
|
http://lists.gnu.org/archive/html/bug-bison/2009-08/msg00009.html
|
||||||
|
* configure.ac: require gettext 0.17 to ensure compatibility with
|
||||||
|
gnulib.
|
||||||
|
|
||||||
|
2010-07-24 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
tests: handle Valgrind that complains about >&-.
|
||||||
|
* tests/output.at (AT_CHECK_OUTPUT): Extend to accept pre-tests.
|
||||||
|
(Output files: -dv >&-): Skip test group if running
|
||||||
|
maintainer-check-valgrind.
|
||||||
|
|
||||||
|
2010-07-21 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Pacify gcc warnings.
|
||||||
|
* src/getargs.c (skeleton_arg): Pass "%s" to printf-like functions
|
||||||
|
with variable format and no argument.
|
||||||
|
|
||||||
|
2010-06-17 Paul Eggert <[email protected]>
|
||||||
|
|
||||||
|
Update from GFDL GFDL 1.2 to 1.3.
|
||||||
|
* doc/bison.texinfo: Update GFDL version number.
|
||||||
|
* doc/fdl.texi: Update to version 1.3, taken from:
|
||||||
|
http://www.gnu.org/licenses/fdl.texi
|
||||||
|
|
||||||
|
2010-06-17 Paul Eggert <[email protected]>
|
||||||
|
|
||||||
|
Do not use date ranges in copyright notices.
|
||||||
|
See http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices
|
||||||
|
|
||||||
|
* HACKING, Makefile.am, NEWS, PACKAGING, README, README-alpha:
|
||||||
|
* TODO, bootstrap, bootstrap.conf:
|
||||||
|
* build-aux/update-b4-copyright, cfg.mk, configure.ac:
|
||||||
|
* data/README, data/bison.m4, data/c++-skel.m4, data/c++.m4:
|
||||||
|
* data/c-skel.m4, data/c.m4, data/glr.c, data/glr.cc:
|
||||||
|
* data/java-skel.m4, data/java.m4, data/lalr1.cc:
|
||||||
|
* data/lalr1.java, data/location.cc:
|
||||||
|
* data/xslt/bison.xsl:
|
||||||
|
* data/xslt/xml2dot.xsl, data/xslt/xml2text.xsl:
|
||||||
|
* data/xslt/xml2xhtml.xsl, data/yacc.c, djgpp/Makefile.maint:
|
||||||
|
* djgpp/README.in, djgpp/config.bat, djgpp/config.sed:
|
||||||
|
* djgpp/config.site, djgpp/config_h.sed, djgpp/djunpack.bat:
|
||||||
|
* djgpp/subpipe.c, djgpp/subpipe.h:
|
||||||
|
* djgpp/testsuite.sed, doc/bison.texinfo:
|
||||||
|
* doc/refcard.tex, etc/README, etc/bench.pl.in:
|
||||||
|
* examples/calc++/Makefile.am, examples/extexi:
|
||||||
|
* lib/abitset.c, lib/abitset.h:
|
||||||
|
* lib/bbitset.h, lib/bitset.c, lib/bitset.h:
|
||||||
|
* lib/bitset_stats.c, lib/bitset_stats.h, lib/bitsetv-print.c:
|
||||||
|
* lib/bitsetv-print.h, lib/bitsetv.c, lib/bitsetv.h:
|
||||||
|
* lib/ebitset.c, lib/ebitset.h, lib/get-errno.c:
|
||||||
|
* lib/get-errno.h, lib/lbitset.c, lib/lbitset.h:
|
||||||
|
* lib/libiberty.h, lib/main.c, lib/timevar.c:
|
||||||
|
* lib/timevar.def, lib/timevar.h, lib/vbitset.c:
|
||||||
|
* lib/vbitset.h, lib/yyerror.c, m4/bison-i18n.m4:
|
||||||
|
* m4/c-working.m4, m4/cxx.m4, m4/subpipe.m4, m4/timevar.m4:
|
||||||
|
* src/LR0.c:
|
||||||
|
* src/LR0.h, src/assoc.c:
|
||||||
|
* src/assoc.h, src/closure.c, src/closure.h, src/complain.c:
|
||||||
|
* src/complain.h, src/conflicts.c, src/conflicts.h:
|
||||||
|
* src/derives.c, src/derives.h, src/files.c, src/files.h:
|
||||||
|
* src/flex-scanner.h, src/getargs.c, src/getargs.h:
|
||||||
|
* src/gram.c, src/gram.h, src/graphviz.c:
|
||||||
|
* src/lalr.c, src/lalr.h:
|
||||||
|
* src/location.c, src/location.h, src/main.c:
|
||||||
|
* src/nullable.c, src/nullable.h:
|
||||||
|
* src/output.c, src/output.h, src/parse-gram.y:
|
||||||
|
* src/print-xml.c, src/print-xml.h, src/print.c, src/print.h:
|
||||||
|
* src/print_graph.c, src/print_graph.h, src/reader.c:
|
||||||
|
* src/reader.h, src/reduce.c, src/reduce.h, src/relation.c:
|
||||||
|
* src/relation.h, src/scan-code.h, src/scan-code.l:
|
||||||
|
* src/scan-gram.h, src/scan-gram.l, src/scan-skel.h:
|
||||||
|
* src/scan-skel.l, src/state.c, src/state.h, src/symlist.c:
|
||||||
|
* src/symlist.h, src/symtab.c, src/symtab.h, src/system.h:
|
||||||
|
* src/tables.c, src/tables.h, src/uniqstr.c, src/uniqstr.h:
|
||||||
|
* tests/actions.at, tests/atlocal.in, tests/c++.at:
|
||||||
|
* tests/calc.at, tests/conflicts.at, tests/cxx-type.at:
|
||||||
|
* tests/existing.at, tests/glr-regression.at:
|
||||||
|
* tests/headers.at, tests/input.at, tests/java.at:
|
||||||
|
* tests/local.at:
|
||||||
|
* tests/output.at, tests/push.at, tests/reduce.at:
|
||||||
|
* tests/regression.at, tests/sets.at, tests/skeletons.at:
|
||||||
|
* tests/synclines.at, tests/testsuite.at, tests/torture.at:
|
||||||
|
* data/Makefile.am, data/location.cc, doc/Makefile.am, src/Makefile.am:
|
||||||
|
* tests/Makefile.am, lib/Makefile.am, examples/Makefile.am:
|
||||||
|
* etc/Makefile.am, m4/m4.m4, src/muscle_tab.c, src/muscle_tab.h:
|
||||||
|
Don't use date ranges in copyright notices.
|
||||||
|
|
||||||
|
2010-05-10 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
doc: fix lalr1.cc documentation.
|
||||||
|
* doc/bison.texinfo (C++ Scanner Interface): Fix yylex signature.
|
||||||
|
(C++ Bison Interface): Fix lalr1.cc skeleton name.
|
||||||
|
(C++ Parser Interface): Fix semantic_type and location_type names.
|
||||||
|
Document yy::parser::token.
|
||||||
|
Reported by Jerry Quinn.
|
||||||
|
|
||||||
|
2010-05-07 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
doc: fix typo.
|
||||||
|
* tests/synclines.at: here.
|
||||||
|
|
||||||
|
2010-05-04 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
tests: enhance AT_SYNCLINES_COMPILE.
|
||||||
|
* tests/synclines.at (AT_SYNCLINES_COMPILE): More distcc patterns.
|
||||||
|
(AT_TEST_SYNCLINE): Remove GCC 4.5 protection which is already
|
||||||
|
taken care of in AT_SYNCLINES_COMPILE.
|
||||||
|
|
||||||
|
2010-04-30 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
Document that undefined %prec identifier warnings will remain.
|
||||||
|
* NEWS (2.4.3): Here.
|
||||||
|
(2.4.2): Here.
|
||||||
|
|
||||||
|
2010-04-25 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
build: don't require src/bison during bootstrap.
|
||||||
|
Suggested by Eric Blake at
|
||||||
|
<http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00003.html>.
|
||||||
|
* bootstrap.conf (bootstrap_epilogue): New function to make sure
|
||||||
|
src/parse-gram.[ch] are stamped later than src/parse-gram.y.
|
||||||
|
|
||||||
|
2010-04-11 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
* NEWS (2.4.3): Mention fix for Sun Studio C++.
|
||||||
|
|
||||||
|
2010-04-10 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
tests: fix for newer Sun Studio C++.
|
||||||
|
Reported by Dagobert Michelsen at
|
||||||
|
<http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00023.html>.
|
||||||
|
* THANKS (Dagobert Michelsen): Add.
|
||||||
|
* configure.ac (AC_PREREQ): Set to 2.64 so we get the latest
|
||||||
|
Autoconf macro for handling the restrict keyword.
|
||||||
|
* gnulib: Update to latest, which no longer overrides that macro
|
||||||
|
from Autoconf.
|
||||||
|
|
||||||
|
2010-04-03 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
portability: fix pointer arithmetic to conform to C standard.
|
||||||
|
Reported by Tys Lefering at
|
||||||
|
<http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00035.html>.
|
||||||
|
This fix is already implemented in glr.c and does not apply to
|
||||||
|
lalr1.java.
|
||||||
|
* data/lalr1.cc (yy::parser::parse): Increase size of
|
||||||
|
yyerror_range and adjust subscripting so you don't have to
|
||||||
|
subtract one from the beginning of the array.
|
||||||
|
* data/yacc.c (b4_declare_parser_state_variables,
|
||||||
|
yyparse, yypush_parse): Likewise.
|
||||||
|
|
||||||
|
2010-03-31 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
portability: fix test suite for GCC 4.5's new #error message.
|
||||||
|
Reported by Tys Lefering at
|
||||||
|
<http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00030.html>.
|
||||||
|
* NEWS (2.4.3): Mention.
|
||||||
|
* tests/synclines.at (AT_TEST_SYNCLINE): Implement.
|
||||||
|
|
||||||
|
2010-03-30 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
fix comments.
|
||||||
|
* src/graphviz.h: Add missing license notice.
|
||||||
|
Document.
|
||||||
|
|
||||||
|
2010-03-23 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
portability: fix for BSD make.
|
||||||
|
Reported by Johan van Selst at
|
||||||
|
<http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00016.html>.
|
||||||
|
* tests/Makefile.am ($(TESTSUITE)): Qualify package.m4 in
|
||||||
|
this dependency list as in package.m4's target rule.
|
||||||
|
|
||||||
|
2010-03-23 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
portability: fix spawning on at least FreeBSD 8 and FreeBSD 9.
|
||||||
|
Reported by Johan van Selst at
|
||||||
|
<http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00014.html>.
|
||||||
|
* NEWS (2.4.3): New.
|
||||||
|
* THANKS (Johan van Selst): Add.
|
||||||
|
* gnulib: Update to latest.
|
||||||
|
|
||||||
|
2010-03-20 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
maint: update for changes to gnulib's announce-gen.
|
||||||
|
* HACKING (Announce): RELEASE_TYPE=major must now be written
|
||||||
|
RELEASE_TYPE=stable.
|
||||||
|
|
||||||
|
2010-03-20 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
Version 2.4.2.
|
||||||
|
* NEWS (2.4.2): Set version and date. For the recent test suite
|
||||||
|
portability fixes, don't be so optimistic about their success
|
||||||
|
given the lack of feedback on the affected platforms.
|
||||||
|
|
||||||
|
2010-02-22 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
Prepare for 2.4.2 release.
|
||||||
|
* NEWS (2.4.1b): Rename back to...
|
||||||
|
(2.4.2): ... this, and unset date.
|
||||||
|
* configure.ac (AM_INIT_AUTOMAKE): Re-enable gnits.
|
||||||
|
|
||||||
|
2010-02-22 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
Version 2.4.1b.
|
||||||
|
* NEWS (2.4.2): Rename to...
|
||||||
|
(2.4.1b): ... this for now. Set date.
|
||||||
|
* configure.ac (AM_INIT_AUTOMAKE): Disable gnits for now because
|
||||||
|
it does not like this version name.
|
||||||
|
|
||||||
|
2010-02-22 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
tests: fix maintainer-xml-check for recent changes.
|
||||||
|
* tests/output.at (AT_CHECK_CONFLICTING_OUTPUT): Use
|
||||||
|
AT_BISON_CHECK_NO_XML rather than AT_BISON_CHECK because an
|
||||||
|
output file whose name conflicts with a previous output file
|
||||||
|
is now never generated.
|
||||||
|
|
||||||
|
2010-02-22 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
portability: fix several issues with M4 subprocess.
|
||||||
|
|
||||||
|
M4's output pipe was not being drained upon fatal errors during
|
||||||
|
scan_skel. As a result, broken-pipe messages from M4 were seen
|
||||||
|
on at least AIX, HP-UX, Solaris, and RHEL4, and this caused a
|
||||||
|
failure in the test suite. The problem was that, on platforms
|
||||||
|
where the default disposition for SIGPIPE is ignore instead of
|
||||||
|
terminate, M4 sometimes saw fwrite fail with errno=EPIPE and
|
||||||
|
then reported it. However, there's some sort of race condition,
|
||||||
|
because the new test group occasionally succeeded.
|
||||||
|
Reported by Albert Chin at
|
||||||
|
<http://lists.gnu.org/archive/html/bug-bison/2010-02/msg00004.html>.
|
||||||
|
|
||||||
|
There were also problems with the test suite livelocking on
|
||||||
|
Tru64 5.1b. Reported by Didier Godefroy at
|
||||||
|
<http://lists.gnu.org/archive/html/bug-bison/2009-05/msg00005.html>.
|
||||||
|
Switching to create_pipe_bidi suggested by Akim Demaille.
|
||||||
|
|
||||||
|
To attempt to solve both of these problems, switch to gnulib's
|
||||||
|
create_pipe_bidi and register M4 process as a slave. Along the
|
||||||
|
way, clean up file name conflict handling, which was affected by
|
||||||
|
the broken-pipe problem before the switch.
|
||||||
|
* NEWS (2.4.2): Document.
|
||||||
|
* THANKS (Didier Godefroy): Add.
|
||||||
|
* bootstrap.conf (gnulib_modules): Add pipe.
|
||||||
|
* gnulib: Update to latest to make sure we have all the latest
|
||||||
|
fixes.
|
||||||
|
* lib/Makefile.am (libbison_a_SOURCES): Remove subpipe.h and
|
||||||
|
subpipe.c.
|
||||||
|
* po/POTFILES.in (lib/subpipe.c): Remove.
|
||||||
|
* src/files.c (compute_output_file_names): Update invocations
|
||||||
|
of output_file_name_check.
|
||||||
|
(output_file_name_check): In the case that the grammar file
|
||||||
|
would be overwritten, use complain instead of fatal, but replace
|
||||||
|
the output file name with /dev/null. Use the /dev/null solution
|
||||||
|
for the case of two conflicting output files as well because it
|
||||||
|
seems safer in case Bison one day tries to open both files at
|
||||||
|
the same time.
|
||||||
|
* src/files.h (output_file_name_check): Update prototype.
|
||||||
|
* src/output.c (output_skeleton): Use create_pipe_bidi and
|
||||||
|
wait_subprocess. Assert that scan_skel completely drains the
|
||||||
|
pipe.
|
||||||
|
* src/scan-skel.l (at_directive_perform): Update
|
||||||
|
output_file_name_check invocation.
|
||||||
|
* tests/output.at (AT_CHECK_CONFLICTING_OUTPUT): Check that the
|
||||||
|
grammar file actually isn't overwritten.
|
||||||
|
(Conflicting output files: -o foo.y): Update expected output.
|
||||||
|
* tests/skeletons.at (Fatal errors but M4 continues producing
|
||||||
|
output): New test group.
|
||||||
|
|
||||||
|
2010-02-04 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
Update POTFILES.
|
||||||
|
* HACKING (Release Procedure): Add reminder about keeping
|
||||||
|
POTFILES files up-to-date.
|
||||||
|
* po/POTFILES.in (src/muscle_tab.c, src/scan-skel.l): Add.
|
||||||
|
|
||||||
|
2010-02-01 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
tests: link lib/libbison.a for gnulib.
|
||||||
|
This solves a problem on Solaris 2.7 where the testsuite needs
|
||||||
|
at least gnulib's rpl_fopen. Reported by Albert Chin at
|
||||||
|
<http://lists.gnu.org/archive/html/bug-bison/2010-02/msg00001.html>.
|
||||||
|
* NEWS (2.4.2): Document.
|
||||||
|
* tests/atlocal.in (LIBS): As for LDADD in src/Makefile.am, add
|
||||||
|
lib/libbison.a.
|
||||||
|
|
||||||
|
2010-01-22 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
|
Prepare for 2.4.2 release.
|
||||||
|
* NEWS (2.4.1a): Rename back to...
|
||||||
|
(2.4.2): ... this, and unset date.
|
||||||
|
* configure.ac (AM_INIT_AUTOMAKE): Re-enable gnits.
|
||||||
|
|
||||||
2010-01-22 Joel E. Denny <[email protected]>
|
2010-01-22 Joel E. Denny <[email protected]>
|
||||||
|
|
||||||
Version 2.4.1a delayed.
|
Version 2.4.1a delayed.
|
||||||
@@ -21645,8 +22017,9 @@
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 1987-1988, 1991-2010 Free Software Foundation,
|
Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996,
|
||||||
Inc.
|
1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
|
||||||
|
2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Copying and distribution of this file, with or without
|
Copying and distribution of this file, with or without
|
||||||
modification, are permitted provided the copyright notice and this
|
modification, are permitted provided the copyright notice and this
|
||||||
|
|||||||
@@ -197,8 +197,11 @@ release:
|
|||||||
|
|
||||||
* Release Procedure
|
* Release Procedure
|
||||||
|
|
||||||
** Try to get the *.pot files to the Translation Project at least one week
|
** Try to get the *.pot files to the Translation Project at least one
|
||||||
before a stable release, to give them time to translate them.
|
week before a stable release, to give them time to translate them.
|
||||||
|
Before generating the *.pot files, make sure that po/POTFILES.in and
|
||||||
|
runtime-po/POTFILES.in list all files with translatable strings.
|
||||||
|
This helps: grep -l '\<_(' *
|
||||||
|
|
||||||
** Tests
|
** Tests
|
||||||
See above.
|
See above.
|
||||||
@@ -334,19 +337,21 @@ To generate a template announcement file:
|
|||||||
|
|
||||||
make RELEASE_TYPE=alpha gpg_key_ID=F125BDF3 announcement
|
make RELEASE_TYPE=alpha gpg_key_ID=F125BDF3 announcement
|
||||||
|
|
||||||
where alpha can be replaced by beta or major and F125BDF3 should be replaced
|
where alpha can be replaced by beta or stable and F125BDF3 should be
|
||||||
with your key ID. For an example of how to fill out the template, search the
|
replaced with your key ID.
|
||||||
mailing list archives for the most recent release announcement.
|
|
||||||
|
|
||||||
Complete/fix the announcement file, and send it at least to
|
Complete/fix the announcement file. The generated list of recipients
|
||||||
[email protected] (if a real release, or a ``serious beta''),
|
([email protected], [email protected], [email protected],
|
||||||
bug-bison@gnu.org, [email protected], [email protected],
|
bison[email protected], and [email protected]) is
|
||||||
and [email protected].
|
appropriate for a stable release or a ``serious beta''. For any other
|
||||||
|
release, drop at least [email protected]. For an example of how to fill
|
||||||
|
out the rest of the template, search the mailing list archives for the
|
||||||
|
most recent release announcement.
|
||||||
|
|
||||||
Send the same announcement on the comp.compilers newsgroup by sending
|
For a stable release, send the same announcement on the comp.compilers
|
||||||
email to [email protected]. Do not make any Cc as the moderator will
|
newsgroup by sending email to [email protected]. Do not make any Cc as
|
||||||
throw away anything cross-posted or Cc'ed. It really needs to be a
|
the moderator will throw away anything cross-posted or Cc'ed. It really
|
||||||
separate message.
|
needs to be a separate message.
|
||||||
|
|
||||||
** Bump the version number
|
** Bump the version number
|
||||||
In configure.ac. Run `make'. So that developers don't accidentally add new
|
In configure.ac. Run `make'. So that developers don't accidentally add new
|
||||||
@@ -359,7 +364,8 @@ Push these changes.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 2002-2005, 2007-2010 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010 Free
|
||||||
|
Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GNU Bison.
|
This file is part of GNU Bison.
|
||||||
|
|
||||||
|
|||||||
+3
-1
@@ -1,5 +1,7 @@
|
|||||||
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
||||||
## Copyright (C) 2001-2010 Free Software Foundation, Inc.
|
|
||||||
|
## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
|
||||||
|
## 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,7 +1,33 @@
|
|||||||
Bison News
|
Bison News
|
||||||
----------
|
----------
|
||||||
|
|
||||||
* Changes in version 2.4.1a (2010-01-22):
|
* Changes in version 2.4.3 (2010-08-05):
|
||||||
|
|
||||||
|
** Bison now obeys -Werror and --warnings=error for warnings about
|
||||||
|
grammar rules that are useless in the parser due to conflicts.
|
||||||
|
|
||||||
|
** Problems with spawning M4 on at least FreeBSD 8 and FreeBSD 9 have
|
||||||
|
been fixed.
|
||||||
|
|
||||||
|
** Failures in the test suite for GCC 4.5 have been fixed.
|
||||||
|
|
||||||
|
** Failures in the test suite for some versions of Sun Studio C++ have
|
||||||
|
been fixed.
|
||||||
|
|
||||||
|
** Contrary to Bison 2.4.2's NEWS entry, it has been decided that
|
||||||
|
warnings about undefined %prec identifiers will not be converted to
|
||||||
|
errors in Bison 2.5. They will remain warnings, which should be
|
||||||
|
sufficient for POSIX while avoiding backward compatibility issues.
|
||||||
|
|
||||||
|
** Minor documentation fixes.
|
||||||
|
|
||||||
|
* Changes in version 2.4.2 (2010-03-20):
|
||||||
|
|
||||||
|
** Some portability problems that resulted in failures and livelocks
|
||||||
|
in the test suite on some versions of at least Solaris, AIX, HP-UX,
|
||||||
|
RHEL4, and Tru64 have been addressed. As a result, fatal Bison
|
||||||
|
errors should no longer cause M4 to report a broken pipe on the
|
||||||
|
affected platforms.
|
||||||
|
|
||||||
** `%prec IDENTIFIER' requires IDENTIFIER to be defined separately.
|
** `%prec IDENTIFIER' requires IDENTIFIER to be defined separately.
|
||||||
|
|
||||||
@@ -12,6 +38,8 @@ Bison News
|
|||||||
%prec directive. It is now restored. However, for backward
|
%prec directive. It is now restored. However, for backward
|
||||||
compatibility with recent Bison releases, it is only a warning for
|
compatibility with recent Bison releases, it is only a warning for
|
||||||
now. In Bison 2.5 and later, it will return to being an error.
|
now. In Bison 2.5 and later, it will return to being an error.
|
||||||
|
[Between the 2.4.2 and 2.4.3 releases, it was decided that this
|
||||||
|
warning will not be converted to an error in Bison 2.5.]
|
||||||
|
|
||||||
** Detection of GNU M4 1.4.6 or newer during configure is improved.
|
** Detection of GNU M4 1.4.6 or newer during configure is improved.
|
||||||
|
|
||||||
@@ -76,10 +104,10 @@ Bison News
|
|||||||
preprocessor warnings (from GCC cpp's -Wunused-macros, for example).
|
preprocessor warnings (from GCC cpp's -Wunused-macros, for example).
|
||||||
To avoid Bison's future warning, such YYFAIL uses can be moved to the
|
To avoid Bison's future warning, such YYFAIL uses can be moved to the
|
||||||
epilogue (that is, after the second `%%') in the Bison input file. In
|
epilogue (that is, after the second `%%') in the Bison input file. In
|
||||||
this release (2.4.1a), Bison already generates its own code to suppress
|
this release (2.4.2), Bison already generates its own code to suppress
|
||||||
C preprocessor warnings for YYFAIL, so projects can remove their own
|
C preprocessor warnings for YYFAIL, so projects can remove their own
|
||||||
phony uses of YYFAIL if compatibility with Bison releases prior to
|
phony uses of YYFAIL if compatibility with Bison releases prior to
|
||||||
2.4.1a is not necessary.
|
2.4.2 is not necessary.
|
||||||
|
|
||||||
** Internationalization.
|
** Internationalization.
|
||||||
|
|
||||||
@@ -1134,7 +1162,9 @@ End:
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 1995-2010 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
|
||||||
|
2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
|
||||||
|
Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Parser Generator.
|
This file is part of Bison, the GNU Parser Generator.
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ to the bison package.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 2002, 2005, 2009-2010 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2005, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
@@ -40,8 +40,8 @@ End:
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 1992, 1998-1999, 2003-2005, 2008-2010 Free Software
|
Copyright (C) 1992, 1998, 1999, 2003, 2004, 2005, 2008, 2009, 2010
|
||||||
Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ the problems you encounter.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 2002, 2004, 2009-2010 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2004, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GNU Bison.
|
This file is part of GNU Bison.
|
||||||
|
|
||||||
|
|||||||
@@ -290,7 +290,8 @@ Equip the parser with a means to create the (visual) parse tree.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 2001-2004, 2006, 2009-2010 Free Software Foundation, Inc.
|
Copyright (C) 2001, 2002, 2003, 2004, 2006, 2008, 2009, 2010 Free
|
||||||
|
Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
# Bootstrap this package from checked-out sources.
|
# Bootstrap this package from checked-out sources.
|
||||||
|
|
||||||
# Copyright (C) 2003-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
|
||||||
|
# Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+12
-4
@@ -1,6 +1,6 @@
|
|||||||
# Bootstrap configuration.
|
# Bootstrap configuration.
|
||||||
|
|
||||||
# Copyright (C) 2006-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -20,9 +20,10 @@ gnulib_modules='
|
|||||||
announce-gen argmatch assert config-h c-strcase configmake dirname
|
announce-gen argmatch assert config-h c-strcase configmake dirname
|
||||||
error extensions fopen-safer gendocs getopt-gnu gettext
|
error extensions fopen-safer gendocs getopt-gnu gettext
|
||||||
git-version-gen hash inttypes javacomp-script javaexec-script
|
git-version-gen hash inttypes javacomp-script javaexec-script
|
||||||
maintainer-makefile malloc mbswidth obstack quote quotearg stdbool
|
maintainer-makefile malloc mbswidth obstack pipe quote quotearg
|
||||||
stpcpy strerror strtoul strverscmp unistd unistd-safer unlocked-io
|
stdbool stpcpy strerror strtoul strverscmp unistd unistd-safer
|
||||||
update-copyright unsetenv verify warnings xalloc xalloc-die xstrndup
|
unlocked-io update-copyright unsetenv verify warnings xalloc
|
||||||
|
xalloc-die xstrndup
|
||||||
'
|
'
|
||||||
|
|
||||||
# Additional xgettext options to use. Use "\\\newline" to break lines.
|
# Additional xgettext options to use. Use "\\\newline" to break lines.
|
||||||
@@ -64,3 +65,10 @@ excluded_files='
|
|||||||
# In directories like lib/, m4/, and po/, generate both these files because we
|
# In directories like lib/, m4/, and po/, generate both these files because we
|
||||||
# still try to support CVS emulation.
|
# still try to support CVS emulation.
|
||||||
vc_ignore='.cvsignore .gitignore'
|
vc_ignore='.cvsignore .gitignore'
|
||||||
|
|
||||||
|
bootstrap_epilogue()
|
||||||
|
{
|
||||||
|
# Make sure we don't need src/bison, which usually doesn't exist at
|
||||||
|
# the time of a bootstrap.
|
||||||
|
touch src/parse-gram.[ch]
|
||||||
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ Makefile
|
|||||||
Makefile.in
|
Makefile.in
|
||||||
announce-gen
|
announce-gen
|
||||||
arg-nonnull.h
|
arg-nonnull.h
|
||||||
|
c++defs.h
|
||||||
compile
|
compile
|
||||||
config.guess
|
config.guess
|
||||||
config.rpath
|
config.rpath
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
/Makefile.in
|
/Makefile.in
|
||||||
/announce-gen
|
/announce-gen
|
||||||
/arg-nonnull.h
|
/arg-nonnull.h
|
||||||
|
/c++defs.h
|
||||||
/compile
|
/compile
|
||||||
/config.guess
|
/config.guess
|
||||||
/config.rpath
|
/config.rpath
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
# Update b4_copyright invocations or b4_copyright_years definitions to
|
# Update b4_copyright invocations or b4_copyright_years definitions to
|
||||||
# include the current year.
|
# include the current year.
|
||||||
|
|
||||||
# Copyright (C) 2009-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2009, 2010 Free Software Foundation, Inc.
|
||||||
#
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3, or (at your option)
|
# the Free Software Foundation; either version 3, or (at your option)
|
||||||
@@ -73,19 +73,10 @@ while (/($old_re)/gx)
|
|||||||
# Put spaces after commas.
|
# Put spaces after commas.
|
||||||
$year_lines =~ s/, ?/, /g;
|
$year_lines =~ s/, ?/, /g;
|
||||||
|
|
||||||
# Compress to intervals.
|
# Do not compress to intervals; for example, do not replace
|
||||||
$year_lines =~
|
# "2008, 2009, 2010" with "2008-2010". See the Copyright
|
||||||
s/
|
# Notices section in Information for Maintainers of GNU Software, at:
|
||||||
(\d{4})
|
# http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices
|
||||||
(?:
|
|
||||||
(,\ |-)
|
|
||||||
((??{
|
|
||||||
if ($2 eq '-') { '\d{4}'; }
|
|
||||||
elsif (!$3) { $1 + 1; }
|
|
||||||
else { $3 + 1; }
|
|
||||||
}))
|
|
||||||
)+
|
|
||||||
/$1-$3/gx;
|
|
||||||
|
|
||||||
# Format within margin.
|
# Format within margin.
|
||||||
my $year_lines_new;
|
my $year_lines_new;
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
# Customize maint.mk -*- makefile -*-
|
# Customize maint.mk -*- makefile -*-
|
||||||
# Copyright (C) 2008-2010 Free Software Foundation, Inc.
|
|
||||||
|
# Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -41,8 +42,12 @@ local-checks-to-skip = changelog-check
|
|||||||
# this release. Used solely to get a date for the "announcement" target.
|
# this release. Used solely to get a date for the "announcement" target.
|
||||||
gnulib_dir = $(srcdir)/gnulib
|
gnulib_dir = $(srcdir)/gnulib
|
||||||
|
|
||||||
bootstrap-tools = autoconf,automake,flex,gnulib
|
bootstrap-tools = autoconf,automake,flex,gettext,gnulib
|
||||||
|
|
||||||
|
announcement_Cc_ = \
|
||||||
|
[email protected], [email protected], [email protected], \
|
||||||
|
[email protected]
|
||||||
|
|
||||||
update-copyright: update-b4-copyright update-package-copyright-year
|
update-copyright: update-b4-copyright update-package-copyright-year
|
||||||
update-copyright-env = \
|
update-copyright-env = \
|
||||||
UPDATE_COPYRIGHT_FORCE=1 UPDATE_COPYRIGHT_USE_INTERVALS=1
|
UPDATE_COPYRIGHT_FORCE=1
|
||||||
|
|||||||
+17
-9
@@ -1,6 +1,7 @@
|
|||||||
# Configure template for GNU Bison. -*-Autoconf-*-
|
# Configure template for GNU Bison. -*-Autoconf-*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2001-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
|
||||||
|
# 2010 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -15,8 +16,10 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
# We have strange test case titles, so we need Autoconf 2.61 or better.
|
# In order for some versions of Sun Studio to compile our C++ test cases
|
||||||
AC_PREREQ(2.61)
|
# correctly, we need Autoconf 2.64 or better to handle the restrict
|
||||||
|
# keyword in at least string.h from gnulib.
|
||||||
|
AC_PREREQ(2.64)
|
||||||
|
|
||||||
AC_INIT([GNU Bison],
|
AC_INIT([GNU Bison],
|
||||||
m4_esyscmd([build-aux/git-version-gen .tarball-version]),
|
m4_esyscmd([build-aux/git-version-gen .tarball-version]),
|
||||||
@@ -34,11 +37,15 @@ AC_CONFIG_MACRO_DIR([m4])
|
|||||||
#
|
#
|
||||||
# To avoid 1.11, we make 1.11.1 the minimum version.
|
# To avoid 1.11, we make 1.11.1 the minimum version.
|
||||||
#
|
#
|
||||||
# We want gnits strictness only when rolling a formal release so that we can,
|
# We want gnits strictness only when rolling a stable release. For
|
||||||
# for example, run make dist at other times without being required to add a
|
# release candidates, we use version strings like 2.4.3_rc1, but gnits
|
||||||
# bogus NEWS entry.
|
# doesn't like that, so we let the underscore disable gnits. Between
|
||||||
|
# releases, we want to be able run make dist without being required to
|
||||||
|
# add a bogus NEWS entry. In that case, the version string
|
||||||
|
# automatically contains a dash, which we also let disable gnits.
|
||||||
AM_INIT_AUTOMAKE([1.11.1 dist-bzip2]
|
AM_INIT_AUTOMAKE([1.11.1 dist-bzip2]
|
||||||
m4_bmatch(m4_defn([AC_PACKAGE_VERSION]), [-], [gnu], [gnu]))
|
m4_bmatch(m4_defn([AC_PACKAGE_VERSION]), [[-_]],
|
||||||
|
[gnu], [gnits]))
|
||||||
AC_CONFIG_HEADERS([lib/config.h:lib/config.hin])
|
AC_CONFIG_HEADERS([lib/config.h:lib/config.hin])
|
||||||
|
|
||||||
# Checks for the compiler.
|
# Checks for the compiler.
|
||||||
@@ -127,9 +134,10 @@ BISON_PREREQ_SUBPIPE
|
|||||||
BISON_PREREQ_TIMEVAR
|
BISON_PREREQ_TIMEVAR
|
||||||
|
|
||||||
# Gettext.
|
# Gettext.
|
||||||
# We've never tested with gettext versions before 0.15, so play it safe.
|
# We use gnulib, which is only guaranteed to work properly with the
|
||||||
|
# latest Gettext.
|
||||||
AM_GNU_GETTEXT([external], [need-ngettext])
|
AM_GNU_GETTEXT([external], [need-ngettext])
|
||||||
AM_GNU_GETTEXT_VERSION([0.15])
|
AM_GNU_GETTEXT_VERSION([0.18])
|
||||||
BISON_I18N
|
BISON_I18N
|
||||||
|
|
||||||
# Internationalized parsers.
|
# Internationalized parsers.
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,5 @@
|
|||||||
## Copyright (C) 2002, 2005-2010 Free Software Foundation, Inc.
|
## Copyright (C) 2002, 2005, 2006, 2007, 2008, 2009, 2010 Free
|
||||||
|
## Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+1
-1
@@ -52,7 +52,7 @@ into various formats.
|
|||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
Copyright (C) 2002, 2008-2010 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GNU Bison.
|
This file is part of GNU Bison.
|
||||||
|
|
||||||
|
|||||||
+3
-1
@@ -1,7 +1,9 @@
|
|||||||
-*- Autoconf -*-
|
-*- Autoconf -*-
|
||||||
|
|
||||||
# Language-independent M4 Macros for Bison.
|
# Language-independent M4 Macros for Bison.
|
||||||
# Copyright (C) 2002, 2004-2010 Free Software Foundation, Inc.
|
|
||||||
|
# Copyright (C) 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
|
||||||
|
# Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+2
-1
@@ -1,7 +1,8 @@
|
|||||||
-*- Autoconf -*-
|
-*- Autoconf -*-
|
||||||
|
|
||||||
# C++ skeleton dispatching for Bison.
|
# C++ skeleton dispatching for Bison.
|
||||||
# Copyright (C) 2006-2007, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
# Copyright (C) 2006, 2007, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+2
-1
@@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
# C++ skeleton for Bison
|
# C++ skeleton for Bison
|
||||||
|
|
||||||
# Copyright (C) 2002-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
||||||
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+2
-1
@@ -1,7 +1,8 @@
|
|||||||
-*- Autoconf -*-
|
-*- Autoconf -*-
|
||||||
|
|
||||||
# C skeleton dispatching for Bison.
|
# C skeleton dispatching for Bison.
|
||||||
# Copyright (C) 2006-2007, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
# Copyright (C) 2006, 2007, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
-*- Autoconf -*-
|
-*- Autoconf -*-
|
||||||
|
|
||||||
# C M4 Macros for Bison.
|
# C M4 Macros for Bison.
|
||||||
# Copyright (C) 2002, 2004-2010 Free Software Foundation, Inc.
|
|
||||||
|
# Copyright (C) 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
|
||||||
|
# Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+5
-3
@@ -1,7 +1,9 @@
|
|||||||
-*- C -*-
|
-*- C -*-
|
||||||
|
|
||||||
# GLR skeleton for Bison
|
# GLR skeleton for Bison
|
||||||
# Copyright (C) 2002-2010 Free Software Foundation, Inc.
|
|
||||||
|
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
|
||||||
|
# 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -149,7 +151,7 @@ m4_changecom()
|
|||||||
m4_divert_push(0)dnl
|
m4_divert_push(0)dnl
|
||||||
@output(b4_parser_file_name@)@
|
@output(b4_parser_file_name@)@
|
||||||
b4_copyright([Skeleton implementation for Bison GLR parsers in C],
|
b4_copyright([Skeleton implementation for Bison GLR parsers in C],
|
||||||
[2002-2006, 2009-2010])
|
[2002, 2003, 2004, 2005, 2006, 2009, 2010])
|
||||||
[
|
[
|
||||||
/* C GLR parser skeleton written by Paul Hilfinger. */
|
/* C GLR parser skeleton written by Paul Hilfinger. */
|
||||||
|
|
||||||
@@ -2639,7 +2641,7 @@ m4_if(b4_skeleton, ["glr.c"],
|
|||||||
[b4_defines_if(
|
[b4_defines_if(
|
||||||
[@output(b4_spec_defines_file@)@
|
[@output(b4_spec_defines_file@)@
|
||||||
b4_copyright([Skeleton interface for Bison GLR parsers in C],
|
b4_copyright([Skeleton interface for Bison GLR parsers in C],
|
||||||
[2002-2006, 2009-2010])
|
[2002, 2003, 2004, 2005, 2006, 2009, 2010])
|
||||||
|
|
||||||
b4_shared_declarations
|
b4_shared_declarations
|
||||||
|
|
||||||
|
|||||||
+4
-2
@@ -1,7 +1,9 @@
|
|||||||
-*- C -*-
|
-*- C -*-
|
||||||
|
|
||||||
# C++ GLR skeleton for Bison
|
# C++ GLR skeleton for Bison
|
||||||
# Copyright (C) 2002-2010 Free Software Foundation, Inc.
|
|
||||||
|
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
|
||||||
|
# 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -218,7 +220,7 @@ m4_popdef([b4_parse_param])
|
|||||||
m4_divert_push(0)
|
m4_divert_push(0)
|
||||||
@output(b4_spec_defines_file@)@
|
@output(b4_spec_defines_file@)@
|
||||||
b4_copyright([Skeleton interface for Bison GLR parsers in C++],
|
b4_copyright([Skeleton interface for Bison GLR parsers in C++],
|
||||||
[2002-2006, 2009-2010])[
|
[2002, 2003, 2004, 2005, 2006, 2009, 2010])[
|
||||||
|
|
||||||
/* C++ GLR parser skeleton written by Akim Demaille. */
|
/* C++ GLR parser skeleton written by Akim Demaille. */
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -1,7 +1,8 @@
|
|||||||
-*- Autoconf -*-
|
-*- Autoconf -*-
|
||||||
|
|
||||||
# Java skeleton dispatching for Bison.
|
# Java skeleton dispatching for Bison.
|
||||||
# Copyright (C) 2007, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
# Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Java language support for Bison
|
# Java language support for Bison
|
||||||
|
|
||||||
# Copyright (C) 2007-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+11
-10
@@ -1,6 +1,7 @@
|
|||||||
# C++ skeleton for Bison
|
# C++ skeleton for Bison
|
||||||
|
|
||||||
# Copyright (C) 2002-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
|
||||||
|
# 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -34,7 +35,7 @@ m4_divert_push(0)dnl
|
|||||||
b4_defines_if(
|
b4_defines_if(
|
||||||
[@output(b4_spec_defines_file@)@
|
[@output(b4_spec_defines_file@)@
|
||||||
b4_copyright([Skeleton interface for Bison LALR(1) parsers in C++],
|
b4_copyright([Skeleton interface for Bison LALR(1) parsers in C++],
|
||||||
[2002-2010])
|
[2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010])
|
||||||
dnl FIXME: This is wrong, we want computed header guards.
|
dnl FIXME: This is wrong, we want computed header guards.
|
||||||
[
|
[
|
||||||
/* C++ LALR(1) parser skeleton written by Akim Demaille. */
|
/* C++ LALR(1) parser skeleton written by Akim Demaille. */
|
||||||
@@ -299,7 +300,7 @@ b4_percent_code_get([[provides]])[]dnl
|
|||||||
])dnl
|
])dnl
|
||||||
@output(b4_parser_file_name@)@
|
@output(b4_parser_file_name@)@
|
||||||
b4_copyright([Skeleton implementation for Bison LALR(1) parsers in C++],
|
b4_copyright([Skeleton implementation for Bison LALR(1) parsers in C++],
|
||||||
[2002-2010])
|
[2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010])
|
||||||
b4_percent_code_get([[top]])[]dnl
|
b4_percent_code_get([[top]])[]dnl
|
||||||
m4_if(b4_prefix, [yy], [],
|
m4_if(b4_prefix, [yy], [],
|
||||||
[
|
[
|
||||||
@@ -538,7 +539,7 @@ do { \
|
|||||||
/// Location of the lookahead.
|
/// Location of the lookahead.
|
||||||
location_type yylloc;
|
location_type yylloc;
|
||||||
/// The locations where the error started and ended.
|
/// The locations where the error started and ended.
|
||||||
location_type yyerror_range[2];
|
location_type yyerror_range[3];
|
||||||
|
|
||||||
/// $$.
|
/// $$.
|
||||||
semantic_type yyval;
|
semantic_type yyval;
|
||||||
@@ -709,7 +710,7 @@ m4_ifdef([b4_lex_param], [, ]b4_lex_param))[;
|
|||||||
b4_error_verbose_if([, yytoken])[));
|
b4_error_verbose_if([, yytoken])[));
|
||||||
}
|
}
|
||||||
|
|
||||||
yyerror_range[0] = yylloc;
|
yyerror_range[1] = yylloc;
|
||||||
if (yyerrstatus_ == 3)
|
if (yyerrstatus_ == 3)
|
||||||
{
|
{
|
||||||
/* If just tried and failed to reuse lookahead token after an
|
/* If just tried and failed to reuse lookahead token after an
|
||||||
@@ -744,7 +745,7 @@ b4_error_verbose_if([, yytoken])[));
|
|||||||
if (false)
|
if (false)
|
||||||
goto yyerrorlab;
|
goto yyerrorlab;
|
||||||
|
|
||||||
yyerror_range[0] = yylocation_stack_[yylen - 1];
|
yyerror_range[1] = yylocation_stack_[yylen - 1];
|
||||||
/* Do not reclaim the symbols of the rule which action triggered
|
/* Do not reclaim the symbols of the rule which action triggered
|
||||||
this YYERROR. */
|
this YYERROR. */
|
||||||
yypop_ (yylen);
|
yypop_ (yylen);
|
||||||
@@ -776,7 +777,7 @@ b4_error_verbose_if([, yytoken])[));
|
|||||||
if (yystate_stack_.height () == 1)
|
if (yystate_stack_.height () == 1)
|
||||||
YYABORT;
|
YYABORT;
|
||||||
|
|
||||||
yyerror_range[0] = yylocation_stack_[0];
|
yyerror_range[1] = yylocation_stack_[0];
|
||||||
yydestruct_ ("Error: popping",
|
yydestruct_ ("Error: popping",
|
||||||
yystos_[yystate],
|
yystos_[yystate],
|
||||||
&yysemantic_stack_[0], &yylocation_stack_[0]);
|
&yysemantic_stack_[0], &yylocation_stack_[0]);
|
||||||
@@ -785,10 +786,10 @@ b4_error_verbose_if([, yytoken])[));
|
|||||||
YY_STACK_PRINT ();
|
YY_STACK_PRINT ();
|
||||||
}
|
}
|
||||||
|
|
||||||
yyerror_range[1] = yylloc;
|
yyerror_range[2] = yylloc;
|
||||||
// Using YYLLOC is tempting, but would change the location of
|
// Using YYLLOC is tempting, but would change the location of
|
||||||
// the lookahead. YYLOC is available though.
|
// the lookahead. YYLOC is available though.
|
||||||
YYLLOC_DEFAULT (yyloc, (yyerror_range - 1), 2);
|
YYLLOC_DEFAULT (yyloc, yyerror_range, 2);
|
||||||
yysemantic_stack_.push (yylval);
|
yysemantic_stack_.push (yylval);
|
||||||
yylocation_stack_.push (yyloc);
|
yylocation_stack_.push (yyloc);
|
||||||
|
|
||||||
@@ -1056,7 +1057,7 @@ b4_error_verbose_if([, int tok])[)
|
|||||||
dnl
|
dnl
|
||||||
@output(b4_dir_prefix[]stack.hh@)@
|
@output(b4_dir_prefix[]stack.hh@)@
|
||||||
b4_copyright([Stack handling for Bison parsers in C++],
|
b4_copyright([Stack handling for Bison parsers in C++],
|
||||||
[2002-2010])[
|
[2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010])[
|
||||||
|
|
||||||
#ifndef BISON_STACK_HH
|
#ifndef BISON_STACK_HH
|
||||||
# define BISON_STACK_HH
|
# define BISON_STACK_HH
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
# Java skeleton for Bison -*- autoconf -*-
|
# Java skeleton for Bison -*- autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 2007-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -25,7 +25,7 @@ m4_ifval(m4_defn([b4_symbol_destructors]),
|
|||||||
m4_divert_push(0)dnl
|
m4_divert_push(0)dnl
|
||||||
@output(b4_parser_file_name@)@
|
@output(b4_parser_file_name@)@
|
||||||
b4_copyright([Skeleton implementation for Bison LALR(1) parsers in Java],
|
b4_copyright([Skeleton implementation for Bison LALR(1) parsers in Java],
|
||||||
[2007-2010])
|
[2007, 2008, 2009, 2010])
|
||||||
|
|
||||||
b4_percent_define_ifdef([package], [package b4_percent_define_get([package]);
|
b4_percent_define_ifdef([package], [package b4_percent_define_get([package]);
|
||||||
])[/* First part of user declarations. */
|
])[/* First part of user declarations. */
|
||||||
|
|||||||
+4
-3
@@ -1,6 +1,7 @@
|
|||||||
# C++ skeleton for Bison
|
# C++ skeleton for Bison
|
||||||
|
|
||||||
# Copyright (C) 2002-2007, 2009-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
|
||||||
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -20,7 +21,7 @@ m4_changecom()
|
|||||||
m4_divert_push(0)dnl
|
m4_divert_push(0)dnl
|
||||||
@output(b4_dir_prefix[]position.hh@)@
|
@output(b4_dir_prefix[]position.hh@)@
|
||||||
b4_copyright([Positions for Bison parsers in C++],
|
b4_copyright([Positions for Bison parsers in C++],
|
||||||
[2002-2007, 2009-2010])[
|
[2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010])[
|
||||||
|
|
||||||
/**
|
/**
|
||||||
** \file position.hh
|
** \file position.hh
|
||||||
@@ -145,7 +146,7 @@ b4_copyright([Positions for Bison parsers in C++],
|
|||||||
#endif // not BISON_POSITION_HH]
|
#endif // not BISON_POSITION_HH]
|
||||||
@output(b4_dir_prefix[]location.hh@)@
|
@output(b4_dir_prefix[]location.hh@)@
|
||||||
b4_copyright([Locations for Bison parsers in C++],
|
b4_copyright([Locations for Bison parsers in C++],
|
||||||
[2002-2007, 2009-2010])[
|
[2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010])[
|
||||||
|
|
||||||
/**
|
/**
|
||||||
** \file location.hh
|
** \file location.hh
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
<!--
|
<!--
|
||||||
bison.xsl - common templates for Bison XSLT.
|
bison.xsl - common templates for Bison XSLT.
|
||||||
|
|
||||||
Copyright (C) 2007-2010 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<!--
|
<!--
|
||||||
xml2dot.xsl - transform Bison XML Report into DOT.
|
xml2dot.xsl - transform Bison XML Report into DOT.
|
||||||
|
|
||||||
Copyright (C) 2007-2010 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<!--
|
<!--
|
||||||
xml2text.xsl - transform Bison XML Report into plain text.
|
xml2text.xsl - transform Bison XML Report into plain text.
|
||||||
|
|
||||||
Copyright (C) 2007-2010 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<!--
|
<!--
|
||||||
xml2html.xsl - transform Bison XML Report into XHTML.
|
xml2html.xsl - transform Bison XML Report into XHTML.
|
||||||
|
|
||||||
Copyright (C) 2007-2010 Free Software Foundation, Inc.
|
Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
+10
-10
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
# Yacc compatible skeleton for Bison
|
# Yacc compatible skeleton for Bison
|
||||||
|
|
||||||
# Copyright (C) 1984, 1989-1990, 2000-2010 Free Software Foundation,
|
# Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005,
|
||||||
# Inc.
|
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -155,7 +155,7 @@ m4_changecom()
|
|||||||
m4_divert_push(0)dnl
|
m4_divert_push(0)dnl
|
||||||
@output(b4_parser_file_name@)@
|
@output(b4_parser_file_name@)@
|
||||||
b4_copyright([Skeleton implementation for Bison's Yacc-like parsers in C],
|
b4_copyright([Skeleton implementation for Bison's Yacc-like parsers in C],
|
||||||
[1984, 1989-1990, 2000-2006, 2009-2010])[
|
[1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010])[
|
||||||
|
|
||||||
/* C LALR(1) parser skeleton written by Richard Stallman, by
|
/* C LALR(1) parser skeleton written by Richard Stallman, by
|
||||||
simplifying the original so-called "semantic" parser. */
|
simplifying the original so-called "semantic" parser. */
|
||||||
@@ -1072,7 +1072,7 @@ m4_define([b4_declare_parser_state_variables],
|
|||||||
YYLTYPE *yylsp;
|
YYLTYPE *yylsp;
|
||||||
|
|
||||||
/* The locations where the error started and ended. */
|
/* The locations where the error started and ended. */
|
||||||
YYLTYPE yyerror_range[2];
|
YYLTYPE yyerror_range[3];
|
||||||
]])[
|
]])[
|
||||||
YYSIZE_T yystacksize;
|
YYSIZE_T yystacksize;
|
||||||
]])
|
]])
|
||||||
@@ -1533,7 +1533,7 @@ yyerrlab:
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
]b4_locations_if([[ yyerror_range[0] = yylloc;]])[
|
]b4_locations_if([[ yyerror_range[1] = yylloc;]])[
|
||||||
|
|
||||||
if (yyerrstatus == 3)
|
if (yyerrstatus == 3)
|
||||||
{
|
{
|
||||||
@@ -1570,7 +1570,7 @@ yyerrorlab:
|
|||||||
if (/*CONSTCOND*/ 0)
|
if (/*CONSTCOND*/ 0)
|
||||||
goto yyerrorlab;
|
goto yyerrorlab;
|
||||||
|
|
||||||
]b4_locations_if([[ yyerror_range[0] = yylsp[1-yylen];
|
]b4_locations_if([[ yyerror_range[1] = yylsp[1-yylen];
|
||||||
]])[ /* Do not reclaim the symbols of the rule which action triggered
|
]])[ /* Do not reclaim the symbols of the rule which action triggered
|
||||||
this YYERROR. */
|
this YYERROR. */
|
||||||
YYPOPSTACK (yylen);
|
YYPOPSTACK (yylen);
|
||||||
@@ -1604,7 +1604,7 @@ yyerrlab1:
|
|||||||
if (yyssp == yyss)
|
if (yyssp == yyss)
|
||||||
YYABORT;
|
YYABORT;
|
||||||
|
|
||||||
]b4_locations_if([[ yyerror_range[0] = *yylsp;]])[
|
]b4_locations_if([[ yyerror_range[1] = *yylsp;]])[
|
||||||
yydestruct ("Error: popping",
|
yydestruct ("Error: popping",
|
||||||
yystos[yystate], yyvsp]b4_locations_if([, yylsp])[]b4_user_args[);
|
yystos[yystate], yyvsp]b4_locations_if([, yylsp])[]b4_user_args[);
|
||||||
YYPOPSTACK (1);
|
YYPOPSTACK (1);
|
||||||
@@ -1614,10 +1614,10 @@ yyerrlab1:
|
|||||||
|
|
||||||
*++yyvsp = yylval;
|
*++yyvsp = yylval;
|
||||||
]b4_locations_if([[
|
]b4_locations_if([[
|
||||||
yyerror_range[1] = yylloc;
|
yyerror_range[2] = yylloc;
|
||||||
/* Using YYLLOC is tempting, but would change the location of
|
/* Using YYLLOC is tempting, but would change the location of
|
||||||
the lookahead. YYLOC is available though. */
|
the lookahead. YYLOC is available though. */
|
||||||
YYLLOC_DEFAULT (yyloc, (yyerror_range - 1), 2);
|
YYLLOC_DEFAULT (yyloc, yyerror_range, 2);
|
||||||
*++yylsp = yyloc;]])[
|
*++yylsp = yyloc;]])[
|
||||||
|
|
||||||
/* Shift the error token. */
|
/* Shift the error token. */
|
||||||
@@ -1685,7 +1685,7 @@ yypushreturn:
|
|||||||
b4_defines_if(
|
b4_defines_if(
|
||||||
[@output(b4_spec_defines_file@)@
|
[@output(b4_spec_defines_file@)@
|
||||||
b4_copyright([Skeleton interface for Bison's Yacc-like parsers in C],
|
b4_copyright([Skeleton interface for Bison's Yacc-like parsers in C],
|
||||||
[1984, 1989-1990, 2000-2006, 2009-2010])
|
[1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010])
|
||||||
|
|
||||||
b4_percent_code_get([[requires]])[]dnl
|
b4_percent_code_get([[requires]])[]dnl
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
# DJGPP Maintainer's Makefile -*-Makefile-*-
|
# DJGPP Maintainer's Makefile -*-Makefile-*-
|
||||||
# Requires GNU sed
|
# Requires GNU sed
|
||||||
|
|
||||||
## Copyright (C) 2005-2010 Free Software Foundation, Inc.
|
## Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
||||||
|
## Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
This is a port of GNU Bison @VERSION@ to MSDOS/DJGPP.
|
This is a port of GNU Bison @VERSION@ to MSDOS/DJGPP.
|
||||||
|
|
||||||
Copyright (C) 2005-2010 Free Software Foundation, Inc.
|
Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
||||||
|
Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+2
-1
@@ -4,7 +4,8 @@ Rem Configure Bison for DJGPP.
|
|||||||
Rem WARNING WARNING WARNING: This file needs to have DOS CRLF end-of-line
|
Rem WARNING WARNING WARNING: This file needs to have DOS CRLF end-of-line
|
||||||
Rem format, or else stock DOS/Windows shells will refuse to run it.
|
Rem format, or else stock DOS/Windows shells will refuse to run it.
|
||||||
|
|
||||||
Rem Copyright (C) 2005-2010 Free Software Foundation, Inc.
|
Rem Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
||||||
|
Rem Foundation, Inc.
|
||||||
|
|
||||||
Rem This program is free software: you can redistribute it and/or modify
|
Rem This program is free software: you can redistribute it and/or modify
|
||||||
Rem it under the terms of the GNU General Public License as published by
|
Rem it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+2
-2
@@ -2,8 +2,8 @@
|
|||||||
# Sed script for additional DJGPP specific editing
|
# Sed script for additional DJGPP specific editing
|
||||||
# of the configure script generated by autoconf 2.62.
|
# of the configure script generated by autoconf 2.62.
|
||||||
|
|
||||||
|
# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
||||||
# Copyright (C) 2005-2010 Free Software Foundation, Inc.
|
# Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,8 @@
|
|||||||
# This is the config.site file for configuring GNU packages
|
# This is the config.site file for configuring GNU packages
|
||||||
# which are to be built with DJGPP tools.
|
# which are to be built with DJGPP tools.
|
||||||
|
|
||||||
# Copyright (C) 2005-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
||||||
|
# Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
# sed script for DJGPP specific editing of config.hin
|
# sed script for DJGPP specific editing of config.hin
|
||||||
|
|
||||||
# Copyright (C) 2005-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
||||||
|
# Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+2
-1
@@ -7,7 +7,8 @@ Rem This batch file unpacks the Bison distribution while simultaneously
|
|||||||
Rem renaming some of the files whose names are invalid on DOS or conflict
|
Rem renaming some of the files whose names are invalid on DOS or conflict
|
||||||
Rem with other file names after truncation to DOS 8+3 namespace.
|
Rem with other file names after truncation to DOS 8+3 namespace.
|
||||||
Rem
|
Rem
|
||||||
Rem Copyright (C) 2005-2010 Free Software Foundation, Inc.
|
Rem Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
||||||
|
Rem Foundation, Inc.
|
||||||
Rem
|
Rem
|
||||||
Rem This program is free software: you can redistribute it and/or modify
|
Rem This program is free software: you can redistribute it and/or modify
|
||||||
Rem it under the terms of the GNU General Public License as published by
|
Rem it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
/* Subprocesses with pipes.
|
/* Subprocesses with pipes.
|
||||||
|
|
||||||
Copyright (C) 2005-2010 Free Software Foundation, Inc.
|
Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
||||||
|
Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+3
-1
@@ -1,5 +1,7 @@
|
|||||||
/* Subprocesses with pipes.
|
/* Subprocesses with pipes.
|
||||||
Copyright (C) 2005-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
||||||
|
Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+1
-2
@@ -2,8 +2,7 @@
|
|||||||
# Sed script for additional DJGPP specific editing
|
# Sed script for additional DJGPP specific editing
|
||||||
# of the testsuite script generated by autoconf 2.61.
|
# of the testsuite script generated by autoconf 2.61.
|
||||||
|
|
||||||
|
# Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
# Copyright (C) 2007-2010 Free Software Foundation, Inc.
|
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+3
-1
@@ -1,5 +1,7 @@
|
|||||||
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
||||||
## Copyright (C) 2001-2003, 2005-2010 Free Software Foundation, Inc.
|
|
||||||
|
## Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010
|
||||||
|
## Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+27
-16
@@ -33,13 +33,14 @@
|
|||||||
This manual (@value{UPDATED}) is for @acronym{GNU} Bison (version
|
This manual (@value{UPDATED}) is for @acronym{GNU} Bison (version
|
||||||
@value{VERSION}), the @acronym{GNU} parser generator.
|
@value{VERSION}), the @acronym{GNU} parser generator.
|
||||||
|
|
||||||
Copyright @copyright{} 1988-1993, 1995, 1998-2010 Free Software
|
Copyright @copyright{} 1988, 1989, 1990, 1991, 1992, 1993, 1995, 1998, 1999,
|
||||||
Foundation, Inc.
|
2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
|
||||||
|
Software Foundation, Inc.
|
||||||
|
|
||||||
@quotation
|
@quotation
|
||||||
Permission is granted to copy, distribute and/or modify this document
|
Permission is granted to copy, distribute and/or modify this document
|
||||||
under the terms of the @acronym{GNU} Free Documentation License,
|
under the terms of the @acronym{GNU} Free Documentation License,
|
||||||
Version 1.2 or any later version published by the Free Software
|
Version 1.3 or any later version published by the Free Software
|
||||||
Foundation; with no Invariant Sections, with the Front-Cover texts
|
Foundation; with no Invariant Sections, with the Front-Cover texts
|
||||||
being ``A @acronym{GNU} Manual,'' and with the Back-Cover Texts as in
|
being ``A @acronym{GNU} Manual,'' and with the Back-Cover Texts as in
|
||||||
(a) below. A copy of the license is included in the section entitled
|
(a) below. A copy of the license is included in the section entitled
|
||||||
@@ -4493,8 +4494,8 @@ number which Bison printed. With @acronym{GLR} parsers, add an
|
|||||||
@code{%expect-rr} declaration as well.
|
@code{%expect-rr} declaration as well.
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
Now Bison will warn you if you introduce an unexpected conflict, but
|
Now Bison will report an error if you introduce an unexpected conflict,
|
||||||
will keep silent otherwise.
|
but will keep silent otherwise.
|
||||||
|
|
||||||
@node Start Decl
|
@node Start Decl
|
||||||
@subsection The Start-Symbol
|
@subsection The Start-Symbol
|
||||||
@@ -6171,8 +6172,10 @@ This particular ambiguity was first encountered in the specifications of
|
|||||||
Algol 60 and is called the ``dangling @code{else}'' ambiguity.
|
Algol 60 and is called the ``dangling @code{else}'' ambiguity.
|
||||||
|
|
||||||
To avoid warnings from Bison about predictable, legitimate shift/reduce
|
To avoid warnings from Bison about predictable, legitimate shift/reduce
|
||||||
conflicts, use the @code{%expect @var{n}} declaration. There will be no
|
conflicts, use the @code{%expect @var{n}} declaration.
|
||||||
warning as long as the number of shift/reduce conflicts is exactly @var{n}.
|
There will be no warning as long as the number of shift/reduce conflicts
|
||||||
|
is exactly @var{n}, and Bison will report an error if there is a
|
||||||
|
different number.
|
||||||
@xref{Expect Decl, ,Suppressing Conflict Warnings}.
|
@xref{Expect Decl, ,Suppressing Conflict Warnings}.
|
||||||
|
|
||||||
The definition of @code{if_stmt} above is solely to blame for the
|
The definition of @code{if_stmt} above is solely to blame for the
|
||||||
@@ -7812,8 +7815,8 @@ Treat warnings as errors.
|
|||||||
@end table
|
@end table
|
||||||
|
|
||||||
A category can be turned off by prefixing its name with @samp{no-}. For
|
A category can be turned off by prefixing its name with @samp{no-}. For
|
||||||
instance, @option{-Wno-syntax} will hide the warnings about unused
|
instance, @option{-Wno-yacc} will hide the warnings about
|
||||||
variables.
|
@acronym{POSIX} Yacc incompatibilities.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@noindent
|
@noindent
|
||||||
@@ -8013,8 +8016,8 @@ int yyparse (void);
|
|||||||
@c - initial action
|
@c - initial action
|
||||||
|
|
||||||
The C++ @acronym{LALR}(1) parser is selected using the skeleton directive,
|
The C++ @acronym{LALR}(1) parser is selected using the skeleton directive,
|
||||||
@samp{%skeleton "lalr1.c"}, or the synonymous command-line option
|
@samp{%skeleton "lalr1.cc"}, or the synonymous command-line option
|
||||||
@option{--skeleton=lalr1.c}.
|
@option{--skeleton=lalr1.cc}.
|
||||||
@xref{Decl Summary}.
|
@xref{Decl Summary}.
|
||||||
|
|
||||||
When run, @command{bison} will create several entities in the @samp{yy}
|
When run, @command{bison} will create several entities in the @samp{yy}
|
||||||
@@ -8163,11 +8166,19 @@ this class is detailed below. It can be extended using the
|
|||||||
it describes an additional member of the parser class, and an
|
it describes an additional member of the parser class, and an
|
||||||
additional argument for its constructor.
|
additional argument for its constructor.
|
||||||
|
|
||||||
@defcv {Type} {parser} {semantic_value_type}
|
@defcv {Type} {parser} {semantic_type}
|
||||||
@defcvx {Type} {parser} {location_value_type}
|
@defcvx {Type} {parser} {location_type}
|
||||||
The types for semantics value and locations.
|
The types for semantics value and locations.
|
||||||
@end defcv
|
@end defcv
|
||||||
|
|
||||||
|
@defcv {Type} {parser} {token}
|
||||||
|
A structure that contains (only) the definition of the tokens as the
|
||||||
|
@code{yytokentype} enumeration. To refer to the token @code{FOO}, the
|
||||||
|
scanner should use @code{yy::parser::token::FOO}. The scanner can use
|
||||||
|
@samp{typedef yy::parser::token token;} to ``import'' the token enumeration
|
||||||
|
(@pxref{Calc++ Scanner}).
|
||||||
|
@end defcv
|
||||||
|
|
||||||
@deftypemethod {parser} {} parser (@var{type1} @var{arg1}, ...)
|
@deftypemethod {parser} {} parser (@var{type1} @var{arg1}, ...)
|
||||||
Build a new parser object. There are no arguments by default, unless
|
Build a new parser object. There are no arguments by default, unless
|
||||||
@samp{%parse-param @{@var{type1} @var{arg1}@}} was used.
|
@samp{%parse-param @{@var{type1} @var{arg1}@}} was used.
|
||||||
@@ -8206,7 +8217,7 @@ The parser invokes the scanner by calling @code{yylex}. Contrary to C
|
|||||||
parsers, C++ parsers are always pure: there is no point in using the
|
parsers, C++ parsers are always pure: there is no point in using the
|
||||||
@code{%define api.pure} directive. Therefore the interface is as follows.
|
@code{%define api.pure} directive. Therefore the interface is as follows.
|
||||||
|
|
||||||
@deftypemethod {parser} {int} yylex (semantic_value_type& @var{yylval}, location_type& @var{yylloc}, @var{type1} @var{arg1}, ...)
|
@deftypemethod {parser} {int} yylex (semantic_type* @var{yylval}, location_type* @var{yylloc}, @var{type1} @var{arg1}, ...)
|
||||||
Return the next token. Its type is the return value, its semantic
|
Return the next token. Its type is the return value, its semantic
|
||||||
value and location being @var{yylval} and @var{yylloc}. Invocations of
|
value and location being @var{yylval} and @var{yylloc}. Invocations of
|
||||||
@samp{%lex-param @{@var{type1} @var{arg1}@}} yield additional arguments.
|
@samp{%lex-param @{@var{type1} @var{arg1}@}} yield additional arguments.
|
||||||
@@ -8850,7 +8861,7 @@ The first, inclusive, position of the range, and the first beyond.
|
|||||||
@end deftypeivar
|
@end deftypeivar
|
||||||
|
|
||||||
@deftypeop {Constructor} {Location} {} Location (Position @var{loc})
|
@deftypeop {Constructor} {Location} {} Location (Position @var{loc})
|
||||||
Create a @code{Location} denoting an empty range located at a given point.
|
Create a @code{Location} denoting an empty range located at a given point.
|
||||||
@end deftypeop
|
@end deftypeop
|
||||||
|
|
||||||
@deftypeop {Constructor} {Location} {} Location (Position @var{begin}, Position @var{end})
|
@deftypeop {Constructor} {Location} {} Location (Position @var{begin}, Position @var{end})
|
||||||
@@ -9064,7 +9075,7 @@ Return immediately from the parser, indicating success.
|
|||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn {Statement} {return YYERROR;}
|
@deffn {Statement} {return YYERROR;}
|
||||||
Start error recovery without printing an error message.
|
Start error recovery without printing an error message.
|
||||||
@xref{Error Recovery}.
|
@xref{Error Recovery}.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
|
|||||||
+68
-13
@@ -1,12 +1,12 @@
|
|||||||
@c The GNU Free Documentation License.
|
@c The GNU Free Documentation License.
|
||||||
@center Version 1.2, November 2002
|
@center Version 1.3, 3 November 2008
|
||||||
|
|
||||||
@c This file is intended to be included within another document,
|
@c This file is intended to be included within another document,
|
||||||
@c hence no sectioning command or @node.
|
@c hence no sectioning command or @node.
|
||||||
|
|
||||||
@display
|
@display
|
||||||
Copyright @copyright{} 2000,2001,2002 Free Software Foundation, Inc.
|
Copyright @copyright{} 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
|
||||||
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
@uref{http://fsf.org/}
|
||||||
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
@@ -111,6 +111,9 @@ formats which do not have any title page as such, ``Title Page'' means
|
|||||||
the text near the most prominent appearance of the work's title,
|
the text near the most prominent appearance of the work's title,
|
||||||
preceding the beginning of the body of the text.
|
preceding the beginning of the body of the text.
|
||||||
|
|
||||||
|
The ``publisher'' means any person or entity that distributes copies
|
||||||
|
of the Document to the public.
|
||||||
|
|
||||||
A section ``Entitled XYZ'' means a named subunit of the Document whose
|
A section ``Entitled XYZ'' means a named subunit of the Document whose
|
||||||
title either is precisely XYZ or contains XYZ in parentheses following
|
title either is precisely XYZ or contains XYZ in parentheses following
|
||||||
text that translates XYZ in another language. (Here XYZ stands for a
|
text that translates XYZ in another language. (Here XYZ stands for a
|
||||||
@@ -379,13 +382,30 @@ title.
|
|||||||
@item
|
@item
|
||||||
TERMINATION
|
TERMINATION
|
||||||
|
|
||||||
You may not copy, modify, sublicense, or distribute the Document except
|
You may not copy, modify, sublicense, or distribute the Document
|
||||||
as expressly provided for under this License. Any other attempt to
|
except as expressly provided under this License. Any attempt
|
||||||
copy, modify, sublicense or distribute the Document is void, and will
|
otherwise to copy, modify, sublicense, or distribute it is void, and
|
||||||
automatically terminate your rights under this License. However,
|
will automatically terminate your rights under this License.
|
||||||
parties who have received copies, or rights, from you under this
|
|
||||||
License will not have their licenses terminated so long as such
|
However, if you cease all violation of this License, then your license
|
||||||
parties remain in full compliance.
|
from a particular copyright holder is reinstated (a) provisionally,
|
||||||
|
unless and until the copyright holder explicitly and finally
|
||||||
|
terminates your license, and (b) permanently, if the copyright holder
|
||||||
|
fails to notify you of the violation by some reasonable means prior to
|
||||||
|
60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, receipt of a copy of some or all of the same material does
|
||||||
|
not give you any rights to use it.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
FUTURE REVISIONS OF THIS LICENSE
|
FUTURE REVISIONS OF THIS LICENSE
|
||||||
@@ -403,7 +423,42 @@ following the terms and conditions either of that specified version or
|
|||||||
of any later version that has been published (not as a draft) by the
|
of any later version that has been published (not as a draft) by the
|
||||||
Free Software Foundation. If the Document does not specify a version
|
Free Software Foundation. If the Document does not specify a version
|
||||||
number of this License, you may choose any version ever published (not
|
number of this License, you may choose any version ever published (not
|
||||||
as a draft) by the Free Software Foundation.
|
as a draft) by the Free Software Foundation. If the Document
|
||||||
|
specifies that a proxy can decide which future versions of this
|
||||||
|
License can be used, that proxy's public statement of acceptance of a
|
||||||
|
version permanently authorizes you to choose that version for the
|
||||||
|
Document.
|
||||||
|
|
||||||
|
@item
|
||||||
|
RELICENSING
|
||||||
|
|
||||||
|
``Massive Multiauthor Collaboration Site'' (or ``MMC Site'') means any
|
||||||
|
World Wide Web server that publishes copyrightable works and also
|
||||||
|
provides prominent facilities for anybody to edit those works. A
|
||||||
|
public wiki that anybody can edit is an example of such a server. A
|
||||||
|
``Massive Multiauthor Collaboration'' (or ``MMC'') contained in the
|
||||||
|
site means any set of copyrightable works thus published on the MMC
|
||||||
|
site.
|
||||||
|
|
||||||
|
``CC-BY-SA'' means the Creative Commons Attribution-Share Alike 3.0
|
||||||
|
license published by Creative Commons Corporation, a not-for-profit
|
||||||
|
corporation with a principal place of business in San Francisco,
|
||||||
|
California, as well as future copyleft versions of that license
|
||||||
|
published by that same organization.
|
||||||
|
|
||||||
|
``Incorporate'' means to publish or republish a Document, in whole or
|
||||||
|
in part, as part of another Document.
|
||||||
|
|
||||||
|
An MMC is ``eligible for relicensing'' if it is licensed under this
|
||||||
|
License, and if all works that were first published under this License
|
||||||
|
somewhere other than this MMC, and subsequently incorporated in whole
|
||||||
|
or in part into the MMC, (1) had no cover texts or invariant sections,
|
||||||
|
and (2) were thus incorporated prior to November 1, 2008.
|
||||||
|
|
||||||
|
The operator of an MMC Site may republish an MMC contained in the site
|
||||||
|
under CC-BY-SA on the same site at any time before August 1, 2009,
|
||||||
|
provided the MMC is eligible for relicensing.
|
||||||
|
|
||||||
@end enumerate
|
@end enumerate
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@@ -417,7 +472,7 @@ license notices just after the title page:
|
|||||||
@group
|
@group
|
||||||
Copyright (C) @var{year} @var{your name}.
|
Copyright (C) @var{year} @var{your name}.
|
||||||
Permission is granted to copy, distribute and/or modify this document
|
Permission is granted to copy, distribute and/or modify this document
|
||||||
under the terms of the GNU Free Documentation License, Version 1.2
|
under the terms of the GNU Free Documentation License, Version 1.3
|
||||||
or any later version published by the Free Software Foundation;
|
or any later version published by the Free Software Foundation;
|
||||||
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
|
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
|
||||||
Texts. A copy of the license is included in the section entitled ``GNU
|
Texts. A copy of the license is included in the section entitled ``GNU
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@
|
|||||||
\def\finalout{\overfullrule=0pt}
|
\def\finalout{\overfullrule=0pt}
|
||||||
%\finalout
|
%\finalout
|
||||||
|
|
||||||
% Copyright (c) 1998, 2001, 2009-2010 Free Software Foundation, Inc.
|
% Copyright (c) 1998, 2001, 2009, 2010 Free Software Foundation, Inc.
|
||||||
%
|
%
|
||||||
% This file is part of Bison.
|
% This file is part of Bison.
|
||||||
%
|
%
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
## Copyright (C) 2006, 2009-2010 Free Software Foundation, Inc.
|
## Copyright (C) 2006, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@ straightforward use of _build/src/bison would.)
|
|||||||
|
|
||||||
--
|
--
|
||||||
|
|
||||||
Copyright (C) 2006, 2009-2010 Free Software Foundation, Inc.
|
Copyright (C) 2006, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
#! /usr/bin/perl -w
|
#! /usr/bin/perl -w
|
||||||
|
|
||||||
# Copyright (C) 2006, 2008-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is part of Bison, the GNU Compiler Compiler.
|
# This file is part of Bison, the GNU Compiler Compiler.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
||||||
## Copyright (C) 2005, 2009-2010 Free Software Foundation, Inc.
|
## Copyright (C) 2005, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
||||||
## Copyright (C) 2005-2006, 2009-2010 Free Software Foundation, Inc.
|
## Copyright (C) 2005, 2006, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+2
-1
@@ -1,7 +1,8 @@
|
|||||||
# Extract all examples from the manual source. -*- AWK -*-
|
# Extract all examples from the manual source. -*- AWK -*-
|
||||||
|
|
||||||
# This file is part of GNU Bison
|
# This file is part of GNU Bison
|
||||||
# Copyright (C) 1992, 2000-2001, 2005-2006, 2009-2010 Free Software
|
|
||||||
|
# Copyright (C) 1992, 2000, 2001, 2005, 2006, 2009, 2010 Free Software
|
||||||
# Foundation, Inc.
|
# Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+1
-1
Submodule gnulib updated: 102c411be0...b48afd89ec
@@ -1,10 +1,13 @@
|
|||||||
.deps
|
.deps
|
||||||
Makefile
|
Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
|
alloca.h
|
||||||
|
alloca.in.h
|
||||||
argmatch.c
|
argmatch.c
|
||||||
argmatch.h
|
argmatch.h
|
||||||
basename-lgpl.c
|
basename-lgpl.c
|
||||||
basename.c
|
basename.c
|
||||||
|
binary-io.h
|
||||||
bitrotate.h
|
bitrotate.h
|
||||||
c-ctype.c
|
c-ctype.c
|
||||||
c-ctype.h
|
c-ctype.h
|
||||||
@@ -12,6 +15,8 @@ c-strcase.h
|
|||||||
c-strcasecmp.c
|
c-strcasecmp.c
|
||||||
c-strncasecmp.c
|
c-strncasecmp.c
|
||||||
charset.alias
|
charset.alias
|
||||||
|
cloexec.c
|
||||||
|
cloexec.h
|
||||||
config.charset
|
config.charset
|
||||||
config.h
|
config.h
|
||||||
config.hin
|
config.hin
|
||||||
@@ -19,6 +24,7 @@ configmake.h
|
|||||||
dirname-lgpl.c
|
dirname-lgpl.c
|
||||||
dirname.c
|
dirname.c
|
||||||
dirname.h
|
dirname.h
|
||||||
|
dup-safer-flag.c
|
||||||
dup-safer.c
|
dup-safer.c
|
||||||
dup2.c
|
dup2.c
|
||||||
errno.h
|
errno.h
|
||||||
@@ -27,12 +33,16 @@ error.c
|
|||||||
error.h
|
error.h
|
||||||
exitfail.c
|
exitfail.c
|
||||||
exitfail.h
|
exitfail.h
|
||||||
|
fatal-signal.c
|
||||||
|
fatal-signal.h
|
||||||
fcntl.c
|
fcntl.c
|
||||||
fcntl.h
|
fcntl.h
|
||||||
fcntl.in.h
|
fcntl.in.h
|
||||||
|
fd-safer-flag.c
|
||||||
fd-safer.c
|
fd-safer.c
|
||||||
fopen-safer.c
|
fopen-safer.c
|
||||||
fopen.c
|
fopen.c
|
||||||
|
getdtablesize.c
|
||||||
getopt.c
|
getopt.c
|
||||||
getopt.h
|
getopt.h
|
||||||
getopt.in.h
|
getopt.in.h
|
||||||
@@ -59,16 +69,45 @@ memchr.c
|
|||||||
memchr.valgrind
|
memchr.valgrind
|
||||||
obstack.c
|
obstack.c
|
||||||
obstack.h
|
obstack.h
|
||||||
|
open.c
|
||||||
pipe-safer.c
|
pipe-safer.c
|
||||||
|
pipe.c
|
||||||
|
pipe.h
|
||||||
|
pipe2-safer.c
|
||||||
|
pipe2.c
|
||||||
quote.c
|
quote.c
|
||||||
quote.h
|
quote.h
|
||||||
quotearg.c
|
quotearg.c
|
||||||
quotearg.h
|
quotearg.h
|
||||||
|
rawmemchr.c
|
||||||
|
rawmemchr.valgrind
|
||||||
ref-add.sed
|
ref-add.sed
|
||||||
ref-add.sin
|
ref-add.sin
|
||||||
ref-del.sed
|
ref-del.sed
|
||||||
ref-del.sin
|
ref-del.sin
|
||||||
|
sched.h
|
||||||
|
sched.in.h
|
||||||
|
sig-handler.h
|
||||||
|
sigaction.c
|
||||||
|
signal.h
|
||||||
|
signal.in.h
|
||||||
|
sigprocmask.c
|
||||||
|
spawn.h
|
||||||
|
spawn.in.h
|
||||||
|
spawn_faction_addclose.c
|
||||||
|
spawn_faction_adddup2.c
|
||||||
|
spawn_faction_addopen.c
|
||||||
|
spawn_faction_destroy.c
|
||||||
|
spawn_faction_init.c
|
||||||
|
spawn_int.h
|
||||||
|
spawnattr_destroy.c
|
||||||
|
spawnattr_init.c
|
||||||
|
spawnattr_setflags.c
|
||||||
|
spawnattr_setsigmask.c
|
||||||
|
spawni.c
|
||||||
|
spawnp.c
|
||||||
stamp-h1
|
stamp-h1
|
||||||
|
stat.c
|
||||||
stdbool.h
|
stdbool.h
|
||||||
stdbool.in.h
|
stdbool.in.h
|
||||||
stdbool_.h
|
stdbool_.h
|
||||||
@@ -86,6 +125,8 @@ stdlib.h
|
|||||||
stdlib.in.h
|
stdlib.in.h
|
||||||
stdlib_.h
|
stdlib_.h
|
||||||
stpcpy.c
|
stpcpy.c
|
||||||
|
strchrnul.c
|
||||||
|
strchrnul.valgrind
|
||||||
streq.h
|
streq.h
|
||||||
strerror.c
|
strerror.c
|
||||||
string.h
|
string.h
|
||||||
@@ -98,17 +139,29 @@ strtol.c
|
|||||||
strtoul.c
|
strtoul.c
|
||||||
strverscmp.c
|
strverscmp.c
|
||||||
strverscmp.h
|
strverscmp.h
|
||||||
|
sys
|
||||||
|
sys_stat.h
|
||||||
|
sys_stat.in.h
|
||||||
|
sys_wait.h
|
||||||
|
sys_wait.in.h
|
||||||
|
time.h
|
||||||
|
time.in.h
|
||||||
unistd--.h
|
unistd--.h
|
||||||
unistd-safer.h
|
unistd-safer.h
|
||||||
unistd.h
|
unistd.h
|
||||||
unistd.in.h
|
unistd.in.h
|
||||||
unistd_.h
|
unistd_.h
|
||||||
unitypes.h
|
unitypes.h
|
||||||
|
unitypes.in.h
|
||||||
uniwidth
|
uniwidth
|
||||||
uniwidth.h
|
uniwidth.h
|
||||||
|
uniwidth.in.h
|
||||||
unlocked-io.h
|
unlocked-io.h
|
||||||
unsetenv.c
|
unsetenv.c
|
||||||
verify.h
|
verify.h
|
||||||
|
w32spawn.h
|
||||||
|
wait-process.c
|
||||||
|
wait-process.h
|
||||||
wchar.h
|
wchar.h
|
||||||
wchar.in.h
|
wchar.in.h
|
||||||
wchar_.h
|
wchar_.h
|
||||||
|
|||||||
@@ -4,10 +4,13 @@
|
|||||||
/.deps
|
/.deps
|
||||||
/Makefile
|
/Makefile
|
||||||
/Makefile.in
|
/Makefile.in
|
||||||
|
/alloca.h
|
||||||
|
/alloca.in.h
|
||||||
/argmatch.c
|
/argmatch.c
|
||||||
/argmatch.h
|
/argmatch.h
|
||||||
/basename-lgpl.c
|
/basename-lgpl.c
|
||||||
/basename.c
|
/basename.c
|
||||||
|
/binary-io.h
|
||||||
/bitrotate.h
|
/bitrotate.h
|
||||||
/c-ctype.c
|
/c-ctype.c
|
||||||
/c-ctype.h
|
/c-ctype.h
|
||||||
@@ -15,6 +18,8 @@
|
|||||||
/c-strcasecmp.c
|
/c-strcasecmp.c
|
||||||
/c-strncasecmp.c
|
/c-strncasecmp.c
|
||||||
/charset.alias
|
/charset.alias
|
||||||
|
/cloexec.c
|
||||||
|
/cloexec.h
|
||||||
/config.charset
|
/config.charset
|
||||||
/config.h
|
/config.h
|
||||||
/config.hin
|
/config.hin
|
||||||
@@ -22,6 +27,7 @@
|
|||||||
/dirname-lgpl.c
|
/dirname-lgpl.c
|
||||||
/dirname.c
|
/dirname.c
|
||||||
/dirname.h
|
/dirname.h
|
||||||
|
/dup-safer-flag.c
|
||||||
/dup-safer.c
|
/dup-safer.c
|
||||||
/dup2.c
|
/dup2.c
|
||||||
/errno.h
|
/errno.h
|
||||||
@@ -30,12 +36,16 @@
|
|||||||
/error.h
|
/error.h
|
||||||
/exitfail.c
|
/exitfail.c
|
||||||
/exitfail.h
|
/exitfail.h
|
||||||
|
/fatal-signal.c
|
||||||
|
/fatal-signal.h
|
||||||
/fcntl.c
|
/fcntl.c
|
||||||
/fcntl.h
|
/fcntl.h
|
||||||
/fcntl.in.h
|
/fcntl.in.h
|
||||||
|
/fd-safer-flag.c
|
||||||
/fd-safer.c
|
/fd-safer.c
|
||||||
/fopen-safer.c
|
/fopen-safer.c
|
||||||
/fopen.c
|
/fopen.c
|
||||||
|
/getdtablesize.c
|
||||||
/getopt.c
|
/getopt.c
|
||||||
/getopt.h
|
/getopt.h
|
||||||
/getopt.in.h
|
/getopt.in.h
|
||||||
@@ -62,16 +72,45 @@
|
|||||||
/memchr.valgrind
|
/memchr.valgrind
|
||||||
/obstack.c
|
/obstack.c
|
||||||
/obstack.h
|
/obstack.h
|
||||||
|
/open.c
|
||||||
/pipe-safer.c
|
/pipe-safer.c
|
||||||
|
/pipe.c
|
||||||
|
/pipe.h
|
||||||
|
/pipe2-safer.c
|
||||||
|
/pipe2.c
|
||||||
/quote.c
|
/quote.c
|
||||||
/quote.h
|
/quote.h
|
||||||
/quotearg.c
|
/quotearg.c
|
||||||
/quotearg.h
|
/quotearg.h
|
||||||
|
/rawmemchr.c
|
||||||
|
/rawmemchr.valgrind
|
||||||
/ref-add.sed
|
/ref-add.sed
|
||||||
/ref-add.sin
|
/ref-add.sin
|
||||||
/ref-del.sed
|
/ref-del.sed
|
||||||
/ref-del.sin
|
/ref-del.sin
|
||||||
|
/sched.h
|
||||||
|
/sched.in.h
|
||||||
|
/sig-handler.h
|
||||||
|
/sigaction.c
|
||||||
|
/signal.h
|
||||||
|
/signal.in.h
|
||||||
|
/sigprocmask.c
|
||||||
|
/spawn.h
|
||||||
|
/spawn.in.h
|
||||||
|
/spawn_faction_addclose.c
|
||||||
|
/spawn_faction_adddup2.c
|
||||||
|
/spawn_faction_addopen.c
|
||||||
|
/spawn_faction_destroy.c
|
||||||
|
/spawn_faction_init.c
|
||||||
|
/spawn_int.h
|
||||||
|
/spawnattr_destroy.c
|
||||||
|
/spawnattr_init.c
|
||||||
|
/spawnattr_setflags.c
|
||||||
|
/spawnattr_setsigmask.c
|
||||||
|
/spawni.c
|
||||||
|
/spawnp.c
|
||||||
/stamp-h1
|
/stamp-h1
|
||||||
|
/stat.c
|
||||||
/stdbool.h
|
/stdbool.h
|
||||||
/stdbool.in.h
|
/stdbool.in.h
|
||||||
/stdbool_.h
|
/stdbool_.h
|
||||||
@@ -89,6 +128,8 @@
|
|||||||
/stdlib.in.h
|
/stdlib.in.h
|
||||||
/stdlib_.h
|
/stdlib_.h
|
||||||
/stpcpy.c
|
/stpcpy.c
|
||||||
|
/strchrnul.c
|
||||||
|
/strchrnul.valgrind
|
||||||
/streq.h
|
/streq.h
|
||||||
/strerror.c
|
/strerror.c
|
||||||
/string.h
|
/string.h
|
||||||
@@ -101,17 +142,29 @@
|
|||||||
/strtoul.c
|
/strtoul.c
|
||||||
/strverscmp.c
|
/strverscmp.c
|
||||||
/strverscmp.h
|
/strverscmp.h
|
||||||
|
/sys
|
||||||
|
/sys_stat.h
|
||||||
|
/sys_stat.in.h
|
||||||
|
/sys_wait.h
|
||||||
|
/sys_wait.in.h
|
||||||
|
/time.h
|
||||||
|
/time.in.h
|
||||||
/unistd--.h
|
/unistd--.h
|
||||||
/unistd-safer.h
|
/unistd-safer.h
|
||||||
/unistd.h
|
/unistd.h
|
||||||
/unistd.in.h
|
/unistd.in.h
|
||||||
/unistd_.h
|
/unistd_.h
|
||||||
/unitypes.h
|
/unitypes.h
|
||||||
|
/unitypes.in.h
|
||||||
/uniwidth
|
/uniwidth
|
||||||
/uniwidth.h
|
/uniwidth.h
|
||||||
|
/uniwidth.in.h
|
||||||
/unlocked-io.h
|
/unlocked-io.h
|
||||||
/unsetenv.c
|
/unsetenv.c
|
||||||
/verify.h
|
/verify.h
|
||||||
|
/w32spawn.h
|
||||||
|
/wait-process.c
|
||||||
|
/wait-process.h
|
||||||
/wchar.h
|
/wchar.h
|
||||||
/wchar.in.h
|
/wchar.in.h
|
||||||
/wchar_.h
|
/wchar_.h
|
||||||
|
|||||||
+2
-3
@@ -1,7 +1,7 @@
|
|||||||
# Make bison/lib.
|
# Make bison/lib.
|
||||||
|
|
||||||
# Copyright (C) 2001-2004, 2006, 2008-2010 Free Software Foundation,
|
# Copyright (C) 2001, 2002, 2003, 2004, 2006, 2008, 2009, 2010 Free
|
||||||
# Inc.
|
# Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -37,7 +37,6 @@ timevars_sources = \
|
|||||||
# Non-gnulib sources in Bison's internal library.
|
# Non-gnulib sources in Bison's internal library.
|
||||||
libbison_a_SOURCES += \
|
libbison_a_SOURCES += \
|
||||||
get-errno.h get-errno.c \
|
get-errno.h get-errno.c \
|
||||||
subpipe.h subpipe.c \
|
|
||||||
$(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
|
$(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
|
||||||
|
|
||||||
# The Yacc compatibility library.
|
# The Yacc compatibility library.
|
||||||
|
|||||||
+4
-2
@@ -1,6 +1,8 @@
|
|||||||
/* Array bitsets.
|
/* Array bitsets.
|
||||||
Copyright (C) 2002-2003, 2006, 2009-2010 Free Software Foundation,
|
|
||||||
Inc.
|
Copyright (C) 2002, 2003, 2006, 2009, 2010 Free Software
|
||||||
|
Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes ([email protected]).
|
Contributed by Michael Hayes ([email protected]).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+3
-1
@@ -1,5 +1,7 @@
|
|||||||
/* Functions to support abitsets.
|
/* Functions to support abitsets.
|
||||||
Copyright (C) 2002, 2004, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2002, 2004, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+4
-2
@@ -1,6 +1,8 @@
|
|||||||
/* Base bitset stuff.
|
/* Base bitset stuff.
|
||||||
Copyright (C) 2002-2004, 2006, 2009-2010 Free Software Foundation,
|
|
||||||
Inc.
|
Copyright (C) 2002, 2003, 2004, 2006, 2009, 2010 Free Software
|
||||||
|
Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+4
-1
@@ -1,5 +1,8 @@
|
|||||||
/* General bitsets.
|
/* General bitsets.
|
||||||
Copyright (C) 2002-2006, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2009, 2010 Free
|
||||||
|
Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+4
-1
@@ -1,5 +1,8 @@
|
|||||||
/* Generic bitsets.
|
/* Generic bitsets.
|
||||||
Copyright (C) 2002-2004, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2002, 2003, 2004, 2009, 2010 Free Software
|
||||||
|
Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+4
-1
@@ -1,5 +1,8 @@
|
|||||||
/* Bitset statistics.
|
/* Bitset statistics.
|
||||||
Copyright (C) 2002-2006, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2009, 2010 Free
|
||||||
|
Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+4
-1
@@ -1,5 +1,8 @@
|
|||||||
/* Functions to support bitset statistics.
|
/* Functions to support bitset statistics.
|
||||||
Copyright (C) 2002-2004, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2002, 2003, 2004, 2009, 2010 Free Software
|
||||||
|
Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+2
-1
@@ -1,5 +1,6 @@
|
|||||||
/* Bitset vectors.
|
/* Bitset vectors.
|
||||||
Copyright (C) 2001-2002, 2004, 2006, 2009-2010 Free Software
|
|
||||||
|
Copyright (C) 2001, 2002, 2004, 2006, 2009, 2010 Free Software
|
||||||
Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+3
-1
@@ -1,5 +1,7 @@
|
|||||||
/* Bitset vectors.
|
/* Bitset vectors.
|
||||||
Copyright (C) 2002, 2004, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2002, 2004, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Akim Demaille (akim@freefriends.org).
|
Contributed by Akim Demaille (akim@freefriends.org).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+2
-1
@@ -1,5 +1,6 @@
|
|||||||
/* Bitset vectors.
|
/* Bitset vectors.
|
||||||
Copyright (C) 2001-2002, 2004-2006, 2009-2010 Free Software
|
|
||||||
|
Copyright (C) 2001, 2002, 2004, 2005, 2006, 2009, 2010 Free Software
|
||||||
Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+3
-1
@@ -1,5 +1,7 @@
|
|||||||
/* Bitset vectors.
|
/* Bitset vectors.
|
||||||
Copyright (C) 2002, 2004, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2002, 2004, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+4
-1
@@ -1,5 +1,8 @@
|
|||||||
/* Functions to support expandable bitsets.
|
/* Functions to support expandable bitsets.
|
||||||
Copyright (C) 2002-2006, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2009, 2010 Free
|
||||||
|
Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+3
-1
@@ -1,5 +1,7 @@
|
|||||||
/* Functions to support ebitsets.
|
/* Functions to support ebitsets.
|
||||||
Copyright (C) 2002, 2004, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2002, 2004, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/* get-errno.c - get and set errno.
|
/* get-errno.c - get and set errno.
|
||||||
|
|
||||||
Copyright (C) 2002, 2006, 2009-2010 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2006, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/* get-errno.h - get and set errno.
|
/* get-errno.h - get and set errno.
|
||||||
|
|
||||||
Copyright (C) 2002, 2009-2010 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+4
-2
@@ -1,6 +1,8 @@
|
|||||||
/* Functions to support link list bitsets.
|
/* Functions to support link list bitsets.
|
||||||
Copyright (C) 2002-2004, 2006, 2009-2010 Free Software Foundation,
|
|
||||||
Inc.
|
Copyright (C) 2002, 2003, 2004, 2006, 2009, 2010 Free Software
|
||||||
|
Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+3
-1
@@ -1,5 +1,7 @@
|
|||||||
/* Functions to support lbitsets.
|
/* Functions to support lbitsets.
|
||||||
Copyright (C) 2002, 2004, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2002, 2004, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+2
-1
@@ -1,5 +1,6 @@
|
|||||||
/* Fake libiberty.h for Bison.
|
/* Fake libiberty.h for Bison.
|
||||||
Copyright (C) 2002-2004, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2002, 2003, 2004, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/* Yacc library main function.
|
/* Yacc library main function.
|
||||||
|
|
||||||
Copyright (C) 2002, 2009-2010 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
-177
@@ -1,177 +0,0 @@
|
|||||||
/* Subprocesses with pipes.
|
|
||||||
|
|
||||||
Copyright (C) 2002, 2004-2006, 2009-2010 Free Software Foundation,
|
|
||||||
Inc.
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
||||||
|
|
||||||
/* Written by Paul Eggert <[email protected]>
|
|
||||||
and Florian Krohm <florian@edamail.fishkill.ibm.com>. */
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
|
|
||||||
#include "subpipe.h"
|
|
||||||
|
|
||||||
#include <errno.h>
|
|
||||||
|
|
||||||
#include <signal.h>
|
|
||||||
#if ! defined SIGCHLD && defined SIGCLD
|
|
||||||
# define SIGCHLD SIGCLD
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#include <unistd.h>
|
|
||||||
#ifndef STDIN_FILENO
|
|
||||||
# define STDIN_FILENO 0
|
|
||||||
#endif
|
|
||||||
#ifndef STDOUT_FILENO
|
|
||||||
# define STDOUT_FILENO 1
|
|
||||||
#endif
|
|
||||||
#if ! HAVE_DUP2 && ! defined dup2
|
|
||||||
# include <fcntl.h>
|
|
||||||
# define dup2(f, t) (close (t), fcntl (f, F_DUPFD, t))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if HAVE_SYS_WAIT_H
|
|
||||||
# include <sys/wait.h>
|
|
||||||
#endif
|
|
||||||
#ifndef WEXITSTATUS
|
|
||||||
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
|
|
||||||
#endif
|
|
||||||
#ifndef WIFEXITED
|
|
||||||
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if HAVE_VFORK_H
|
|
||||||
# include <vfork.h>
|
|
||||||
#endif
|
|
||||||
#if ! HAVE_WORKING_VFORK
|
|
||||||
# define vfork fork
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "error.h"
|
|
||||||
#include "unistd-safer.h"
|
|
||||||
|
|
||||||
#include "gettext.h"
|
|
||||||
#define _(Msgid) gettext (Msgid)
|
|
||||||
|
|
||||||
#ifndef __attribute__
|
|
||||||
/* This feature is available in gcc versions 2.5 and later. */
|
|
||||||
# if ! defined __GNUC__ || __GNUC__ < 2 || \
|
|
||||||
(__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
|
|
||||||
# define __attribute__(Spec) /* empty */
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef ATTRIBUTE_UNUSED
|
|
||||||
# define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/* Initialize this module. */
|
|
||||||
|
|
||||||
void
|
|
||||||
init_subpipe (void)
|
|
||||||
{
|
|
||||||
#ifdef SIGCHLD
|
|
||||||
/* System V fork+wait does not work if SIGCHLD is ignored. */
|
|
||||||
signal (SIGCHLD, SIG_DFL);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Create a subprocess that is run as a filter. ARGV is the
|
|
||||||
NULL-terminated argument vector for the subprocess. Store read and
|
|
||||||
write file descriptors for communication with the subprocess into
|
|
||||||
FD[0] and FD[1]: input meant for the process can be written into
|
|
||||||
FD[0], and output from the process can be read from FD[1]. Return
|
|
||||||
the subprocess id.
|
|
||||||
|
|
||||||
To avoid deadlock, the invoker must not let incoming data pile up
|
|
||||||
in FD[1] while writing data to FD[0]. */
|
|
||||||
|
|
||||||
pid_t
|
|
||||||
create_subpipe (char const * const *argv, int fd[2])
|
|
||||||
{
|
|
||||||
int pipe_fd[2];
|
|
||||||
int child_fd[2];
|
|
||||||
pid_t pid;
|
|
||||||
|
|
||||||
if (pipe_safer (child_fd) != 0 || pipe_safer (pipe_fd) != 0)
|
|
||||||
error (EXIT_FAILURE, errno, "pipe");
|
|
||||||
fd[0] = child_fd[1];
|
|
||||||
fd[1] = pipe_fd[0];
|
|
||||||
child_fd[1] = pipe_fd[1];
|
|
||||||
|
|
||||||
pid = vfork ();
|
|
||||||
if (pid < 0)
|
|
||||||
error (EXIT_FAILURE, errno, "fork");
|
|
||||||
|
|
||||||
if (! pid)
|
|
||||||
{
|
|
||||||
/* Child. */
|
|
||||||
close (fd[0]);
|
|
||||||
close (fd[1]);
|
|
||||||
dup2 (child_fd[0], STDIN_FILENO);
|
|
||||||
close (child_fd[0]);
|
|
||||||
dup2 (child_fd[1], STDOUT_FILENO);
|
|
||||||
close (child_fd[1]);
|
|
||||||
|
|
||||||
/* The cast to (char **) rather than (char * const *) is needed
|
|
||||||
for portability to older hosts with a nonstandard prototype
|
|
||||||
for execvp. */
|
|
||||||
execvp (argv[0], (char **) argv);
|
|
||||||
|
|
||||||
_exit (errno == ENOENT ? 127 : 126);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Parent. */
|
|
||||||
close (child_fd[0]);
|
|
||||||
close (child_fd[1]);
|
|
||||||
return pid;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Wait for the subprocess to exit. */
|
|
||||||
|
|
||||||
void
|
|
||||||
reap_subpipe (pid_t pid, char const *program)
|
|
||||||
{
|
|
||||||
#if HAVE_WAITPID || defined waitpid
|
|
||||||
int wstatus;
|
|
||||||
if (waitpid (pid, &wstatus, 0) < 0)
|
|
||||||
error (EXIT_FAILURE, errno, "waitpid");
|
|
||||||
else
|
|
||||||
{
|
|
||||||
int status = WIFEXITED (wstatus) ? WEXITSTATUS (wstatus) : -1;
|
|
||||||
if (status)
|
|
||||||
error (EXIT_FAILURE, 0,
|
|
||||||
_(status == 126
|
|
||||||
? "subsidiary program `%s' could not be invoked"
|
|
||||||
: status == 127
|
|
||||||
? "subsidiary program `%s' not found"
|
|
||||||
: status < 0
|
|
||||||
? "subsidiary program `%s' failed"
|
|
||||||
: "subsidiary program `%s' failed (exit status %d)"),
|
|
||||||
program, status);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
end_of_output_subpipe (pid_t pid ATTRIBUTE_UNUSED,
|
|
||||||
int fd[2] ATTRIBUTE_UNUSED)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
/* Subprocesses with pipes.
|
|
||||||
Copyright (C) 2002, 2004-2005, 2009-2010 Free Software Foundation,
|
|
||||||
Inc.
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
||||||
|
|
||||||
/* Written by Paul Eggert <[email protected]>
|
|
||||||
and Florian Krohm <florian@edamail.fishkill.ibm.com>. */
|
|
||||||
|
|
||||||
#if HAVE_SYS_TYPES_H
|
|
||||||
# include <sys/types.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void init_subpipe (void);
|
|
||||||
pid_t create_subpipe (char const * const *, int[2]);
|
|
||||||
void end_of_output_subpipe (pid_t, int[2]);
|
|
||||||
void reap_subpipe (pid_t, char const *);
|
|
||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
/* Timing variables for measuring compiler performance.
|
/* Timing variables for measuring compiler performance.
|
||||||
Copyright (C) 2000, 2002, 2004-2006, 2009-2010 Free Software
|
|
||||||
|
Copyright (C) 2000, 2002, 2004, 2006, 2009, 2010 Free Software
|
||||||
Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Alex Samuel <samuel@codesourcery.com>
|
Contributed by Alex Samuel <samuel@codesourcery.com>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
/* This file contains the definitions for timing variables used to -*- C -*-
|
/* This file contains the definitions for timing variables used to -*- C -*-
|
||||||
measure run-time performance of the compiler.
|
measure run-time performance of the compiler.
|
||||||
Copyright (C) 2002, 2007, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2002, 2007, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Akim Demaille <akim@freefriends.org>.
|
Contributed by Akim Demaille <akim@freefriends.org>.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|||||||
+4
-2
@@ -1,6 +1,8 @@
|
|||||||
/* Timing variables for measuring compiler performance.
|
/* Timing variables for measuring compiler performance.
|
||||||
Copyright (C) 2000, 2002, 2004, 2009-2010 Free Software Foundation,
|
|
||||||
Inc.
|
Copyright (C) 2000, 2002, 2004, 2009, 2010 Free Software
|
||||||
|
Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Alex Samuel <samuel@codesourcery.com>
|
Contributed by Alex Samuel <samuel@codesourcery.com>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+4
-1
@@ -1,5 +1,8 @@
|
|||||||
/* Variable array bitsets.
|
/* Variable array bitsets.
|
||||||
Copyright (C) 2002-2006, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2009, 2010 Free
|
||||||
|
Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+3
-1
@@ -1,5 +1,7 @@
|
|||||||
/* Functions to support vbitsets.
|
/* Functions to support vbitsets.
|
||||||
Copyright (C) 2002, 2004, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
Copyright (C) 2002, 2004, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz).
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/* Yacc library error-printing function.
|
/* Yacc library error-printing function.
|
||||||
|
|
||||||
Copyright (C) 2002, 2009-2010 Free Software Foundation, Inc.
|
Copyright (C) 2002, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
00gnulib.m4
|
00gnulib.m4
|
||||||
absolute-header.m4
|
absolute-header.m4
|
||||||
|
alloca.m4
|
||||||
argmatch.m4
|
argmatch.m4
|
||||||
|
asm-underscore.m4
|
||||||
assert.m4
|
assert.m4
|
||||||
|
cloexec.m4
|
||||||
config-h.m4
|
config-h.m4
|
||||||
dirname.m4
|
dirname.m4
|
||||||
dos.m4
|
dos.m4
|
||||||
@@ -12,10 +15,12 @@ errno_h.m4
|
|||||||
error.m4
|
error.m4
|
||||||
exitfail.m4
|
exitfail.m4
|
||||||
extensions.m4
|
extensions.m4
|
||||||
|
fatal-signal.m4
|
||||||
fcntl-o.m4
|
fcntl-o.m4
|
||||||
fcntl.m4
|
fcntl.m4
|
||||||
fcntl_h.m4
|
fcntl_h.m4
|
||||||
fopen.m4
|
fopen.m4
|
||||||
|
getdtablesize.m4
|
||||||
getopt.m4
|
getopt.m4
|
||||||
getpagesize.m4
|
getpagesize.m4
|
||||||
gettext.m4
|
gettext.m4
|
||||||
@@ -36,6 +41,7 @@ javaexec.m4
|
|||||||
lib-ld.m4
|
lib-ld.m4
|
||||||
lib-link.m4
|
lib-link.m4
|
||||||
lib-prefix.m4
|
lib-prefix.m4
|
||||||
|
libunistring-base.m4
|
||||||
localcharset.m4
|
localcharset.m4
|
||||||
locale-fr.m4
|
locale-fr.m4
|
||||||
locale-ja.m4
|
locale-ja.m4
|
||||||
@@ -48,13 +54,26 @@ mbstate_t.m4
|
|||||||
mbswidth.m4
|
mbswidth.m4
|
||||||
memchr.m4
|
memchr.m4
|
||||||
mmap-anon.m4
|
mmap-anon.m4
|
||||||
|
mode_t.m4
|
||||||
multiarch.m4
|
multiarch.m4
|
||||||
nls.m4
|
nls.m4
|
||||||
|
open.m4
|
||||||
|
pipe.m4
|
||||||
|
pipe2.m4
|
||||||
po.m4
|
po.m4
|
||||||
|
posix_spawn.m4
|
||||||
progtest.m4
|
progtest.m4
|
||||||
quote.m4
|
quote.m4
|
||||||
quotearg.m4
|
quotearg.m4
|
||||||
|
rawmemchr.m4
|
||||||
|
sched_h.m4
|
||||||
setenv.m4
|
setenv.m4
|
||||||
|
sig_atomic_t.m4
|
||||||
|
sigaction.m4
|
||||||
|
signal_h.m4
|
||||||
|
signalblocking.m4
|
||||||
|
spawn_h.m4
|
||||||
|
stat.m4
|
||||||
stdbool.m4
|
stdbool.m4
|
||||||
stddef_h.m4
|
stddef_h.m4
|
||||||
stdint.m4
|
stdint.m4
|
||||||
@@ -63,6 +82,7 @@ stdio-safer.m4
|
|||||||
stdio_h.m4
|
stdio_h.m4
|
||||||
stdlib_h.m4
|
stdlib_h.m4
|
||||||
stpcpy.m4
|
stpcpy.m4
|
||||||
|
strchrnul.m4
|
||||||
strerror.m4
|
strerror.m4
|
||||||
string_h.m4
|
string_h.m4
|
||||||
strndup.m4
|
strndup.m4
|
||||||
@@ -70,16 +90,22 @@ strnlen.m4
|
|||||||
strtol.m4
|
strtol.m4
|
||||||
strtoul.m4
|
strtoul.m4
|
||||||
strverscmp.m4
|
strverscmp.m4
|
||||||
|
sys_stat_h.m4
|
||||||
|
sys_wait_h.m4
|
||||||
threadlib.m4
|
threadlib.m4
|
||||||
|
time_h.m4
|
||||||
unistd-safer.m4
|
unistd-safer.m4
|
||||||
unistd_h.m4
|
unistd_h.m4
|
||||||
unlocked-io.m4
|
unlocked-io.m4
|
||||||
|
wait-process.m4
|
||||||
warn-on-use.m4
|
warn-on-use.m4
|
||||||
warning.m4
|
warning.m4
|
||||||
warnings.m4
|
warnings.m4
|
||||||
wchar.m4
|
wchar.m4
|
||||||
|
wchar_h.m4
|
||||||
wchar_t.m4
|
wchar_t.m4
|
||||||
wctype.m4
|
wctype.m4
|
||||||
|
wctype_h.m4
|
||||||
wcwidth.m4
|
wcwidth.m4
|
||||||
wint_t.m4
|
wint_t.m4
|
||||||
xalloc.m4
|
xalloc.m4
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
/00gnulib.m4
|
/00gnulib.m4
|
||||||
/absolute-header.m4
|
/absolute-header.m4
|
||||||
|
/alloca.m4
|
||||||
/argmatch.m4
|
/argmatch.m4
|
||||||
|
/asm-underscore.m4
|
||||||
/assert.m4
|
/assert.m4
|
||||||
|
/cloexec.m4
|
||||||
/config-h.m4
|
/config-h.m4
|
||||||
/dirname.m4
|
/dirname.m4
|
||||||
/dos.m4
|
/dos.m4
|
||||||
@@ -12,10 +15,12 @@
|
|||||||
/error.m4
|
/error.m4
|
||||||
/exitfail.m4
|
/exitfail.m4
|
||||||
/extensions.m4
|
/extensions.m4
|
||||||
|
/fatal-signal.m4
|
||||||
/fcntl-o.m4
|
/fcntl-o.m4
|
||||||
/fcntl.m4
|
/fcntl.m4
|
||||||
/fcntl_h.m4
|
/fcntl_h.m4
|
||||||
/fopen.m4
|
/fopen.m4
|
||||||
|
/getdtablesize.m4
|
||||||
/getopt.m4
|
/getopt.m4
|
||||||
/getpagesize.m4
|
/getpagesize.m4
|
||||||
/gettext.m4
|
/gettext.m4
|
||||||
@@ -36,6 +41,7 @@
|
|||||||
/lib-ld.m4
|
/lib-ld.m4
|
||||||
/lib-link.m4
|
/lib-link.m4
|
||||||
/lib-prefix.m4
|
/lib-prefix.m4
|
||||||
|
/libunistring-base.m4
|
||||||
/localcharset.m4
|
/localcharset.m4
|
||||||
/locale-fr.m4
|
/locale-fr.m4
|
||||||
/locale-ja.m4
|
/locale-ja.m4
|
||||||
@@ -48,13 +54,26 @@
|
|||||||
/mbswidth.m4
|
/mbswidth.m4
|
||||||
/memchr.m4
|
/memchr.m4
|
||||||
/mmap-anon.m4
|
/mmap-anon.m4
|
||||||
|
/mode_t.m4
|
||||||
/multiarch.m4
|
/multiarch.m4
|
||||||
/nls.m4
|
/nls.m4
|
||||||
|
/open.m4
|
||||||
|
/pipe.m4
|
||||||
|
/pipe2.m4
|
||||||
/po.m4
|
/po.m4
|
||||||
|
/posix_spawn.m4
|
||||||
/progtest.m4
|
/progtest.m4
|
||||||
/quote.m4
|
/quote.m4
|
||||||
/quotearg.m4
|
/quotearg.m4
|
||||||
|
/rawmemchr.m4
|
||||||
|
/sched_h.m4
|
||||||
/setenv.m4
|
/setenv.m4
|
||||||
|
/sig_atomic_t.m4
|
||||||
|
/sigaction.m4
|
||||||
|
/signal_h.m4
|
||||||
|
/signalblocking.m4
|
||||||
|
/spawn_h.m4
|
||||||
|
/stat.m4
|
||||||
/stdbool.m4
|
/stdbool.m4
|
||||||
/stddef_h.m4
|
/stddef_h.m4
|
||||||
/stdint.m4
|
/stdint.m4
|
||||||
@@ -63,6 +82,7 @@
|
|||||||
/stdio_h.m4
|
/stdio_h.m4
|
||||||
/stdlib_h.m4
|
/stdlib_h.m4
|
||||||
/stpcpy.m4
|
/stpcpy.m4
|
||||||
|
/strchrnul.m4
|
||||||
/strerror.m4
|
/strerror.m4
|
||||||
/string_h.m4
|
/string_h.m4
|
||||||
/strndup.m4
|
/strndup.m4
|
||||||
@@ -70,16 +90,22 @@
|
|||||||
/strtol.m4
|
/strtol.m4
|
||||||
/strtoul.m4
|
/strtoul.m4
|
||||||
/strverscmp.m4
|
/strverscmp.m4
|
||||||
|
/sys_stat_h.m4
|
||||||
|
/sys_wait_h.m4
|
||||||
/threadlib.m4
|
/threadlib.m4
|
||||||
|
/time_h.m4
|
||||||
/unistd-safer.m4
|
/unistd-safer.m4
|
||||||
/unistd_h.m4
|
/unistd_h.m4
|
||||||
/unlocked-io.m4
|
/unlocked-io.m4
|
||||||
|
/wait-process.m4
|
||||||
/warn-on-use.m4
|
/warn-on-use.m4
|
||||||
/warning.m4
|
/warning.m4
|
||||||
/warnings.m4
|
/warnings.m4
|
||||||
/wchar.m4
|
/wchar.m4
|
||||||
|
/wchar_h.m4
|
||||||
/wchar_t.m4
|
/wchar_t.m4
|
||||||
/wctype.m4
|
/wctype.m4
|
||||||
|
/wctype_h.m4
|
||||||
/wcwidth.m4
|
/wcwidth.m4
|
||||||
/wint_t.m4
|
/wint_t.m4
|
||||||
/xalloc.m4
|
/xalloc.m4
|
||||||
|
|||||||
+3
-1
@@ -1,5 +1,7 @@
|
|||||||
# bison-i18n.m4 serial 2
|
# bison-i18n.m4 serial 2
|
||||||
dnl Copyright (C) 2005-2006, 2009-2010 Free Software Foundation, Inc.
|
|
||||||
|
dnl Copyright (C) 2005, 2006, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
# Sanity test a C compiler.
|
# Sanity test a C compiler.
|
||||||
|
|
||||||
# Copyright (C) 2006, 2009-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2006, 2009, 2010 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# -*- Autoconf -*-
|
# -*- Autoconf -*-
|
||||||
# Sanity-test a C++ compiler.
|
# Sanity-test a C++ compiler.
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004, 2006, 2009-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2004, 2006, 2009, 2010 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# m4.m4 serial 10
|
# m4.m4 serial 10
|
||||||
|
|
||||||
# Copyright (C) 2000, 2006-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2000, 2006, 2007, 2008, 2009, 2010 Free Software
|
||||||
|
# Foundation, Inc.
|
||||||
|
|
||||||
# Copying and distribution of this file, with or without modification,
|
# Copying and distribution of this file, with or without modification,
|
||||||
# are permitted in any medium without royalty provided the copyright
|
# are permitted in any medium without royalty provided the copyright
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
# -*- Autoconf -*-
|
# -*- Autoconf -*-
|
||||||
# Checks required to run `subpipe'.
|
# Checks required to run `subpipe'.
|
||||||
#
|
#
|
||||||
# Copyright (C) 2002-2003, 2005, 2009-2010 Free Software Foundation,
|
# Copyright (C) 2002, 2003, 2005, 2009, 2010 Free Software Foundation,
|
||||||
# Inc.
|
# Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
# -*- Autoconf -*-
|
# -*- Autoconf -*-
|
||||||
# Checks required to run `timevar', a time tracker.
|
# Checks required to run `timevar', a time tracker.
|
||||||
#
|
#
|
||||||
# Copyright (C) 2002-2003, 2009-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2002, 2003, 2009, 2010 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
+5
-1
@@ -5,12 +5,14 @@ src/getargs.c
|
|||||||
src/gram.c
|
src/gram.c
|
||||||
src/location.c
|
src/location.c
|
||||||
src/main.c
|
src/main.c
|
||||||
|
src/muscle_tab.c
|
||||||
src/parse-gram.y
|
src/parse-gram.y
|
||||||
src/print.c
|
src/print.c
|
||||||
src/reader.c
|
src/reader.c
|
||||||
src/reduce.c
|
src/reduce.c
|
||||||
src/scan-code.l
|
src/scan-code.l
|
||||||
src/scan-gram.l
|
src/scan-gram.l
|
||||||
|
src/scan-skel.l
|
||||||
src/symlist.c
|
src/symlist.c
|
||||||
src/symtab.c
|
src/symtab.c
|
||||||
|
|
||||||
@@ -19,7 +21,9 @@ lib/bitset_stats.c
|
|||||||
lib/error.c
|
lib/error.c
|
||||||
lib/getopt.c
|
lib/getopt.c
|
||||||
lib/obstack.c
|
lib/obstack.c
|
||||||
|
lib/pipe.c
|
||||||
lib/quotearg.c
|
lib/quotearg.c
|
||||||
lib/subpipe.c
|
|
||||||
lib/timevar.c
|
lib/timevar.c
|
||||||
|
lib/w32spawn.h
|
||||||
|
lib/wait-process.c
|
||||||
lib/xalloc-die.c
|
lib/xalloc-die.c
|
||||||
|
|||||||
@@ -7,12 +7,14 @@ Makefile
|
|||||||
Makefile.in
|
Makefile.in
|
||||||
Makefile.in.in
|
Makefile.in.in
|
||||||
Makevars
|
Makevars
|
||||||
|
Makevars.template
|
||||||
POTFILES
|
POTFILES
|
||||||
Rules-quot
|
Rules-quot
|
||||||
bison-runtime.pot
|
bison-runtime.pot
|
||||||
boldquot.sed
|
boldquot.sed
|
||||||
[email protected]
|
[email protected]
|
||||||
[email protected]
|
[email protected]
|
||||||
|
insert-header.sed
|
||||||
insert-header.sin
|
insert-header.sin
|
||||||
quot.sed
|
quot.sed
|
||||||
remove-potcdate.sed
|
remove-potcdate.sed
|
||||||
|
|||||||
@@ -7,12 +7,14 @@
|
|||||||
/Makefile.in
|
/Makefile.in
|
||||||
/Makefile.in.in
|
/Makefile.in.in
|
||||||
/Makevars
|
/Makevars
|
||||||
|
/Makevars.template
|
||||||
/POTFILES
|
/POTFILES
|
||||||
/Rules-quot
|
/Rules-quot
|
||||||
/bison-runtime.pot
|
/bison-runtime.pot
|
||||||
/boldquot.sed
|
/boldquot.sed
|
||||||
/[email protected]
|
/[email protected]
|
||||||
/[email protected]
|
/[email protected]
|
||||||
|
/insert-header.sed
|
||||||
/insert-header.sin
|
/insert-header.sin
|
||||||
/quot.sed
|
/quot.sed
|
||||||
/remove-potcdate.sed
|
/remove-potcdate.sed
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/* Generate the nondeterministic finite state machine for Bison.
|
/* Generate the nondeterministic finite state machine for Bison.
|
||||||
|
|
||||||
Copyright (C) 1984, 1986, 1989, 2000-2002, 2004-2007, 2009-2010 Free
|
Copyright (C) 1984, 1986, 1989, 2000, 2001, 2002, 2004, 2005, 2006,
|
||||||
Software Foundation, Inc.
|
2007, 2009, 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
/* Generate the nondeterministic finite state machine for bison,
|
/* Generate the nondeterministic finite state machine for bison,
|
||||||
Copyright (C) 1984, 1986, 1989, 2000-2002, 2009-2010 Free Software
|
|
||||||
Foundation, Inc.
|
Copyright (C) 1984, 1986, 1989, 2000, 2001, 2002, 2009, 2010 Free
|
||||||
|
Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of Bison, the GNU Compiler Compiler.
|
This file is part of Bison, the GNU Compiler Compiler.
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
# Make bison/src.
|
# Make bison/src.
|
||||||
|
|
||||||
# Copyright (C) 2001-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
|
||||||
|
# 2010 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user