diff --git a/AUTHORS b/AUTHORS
index 5991853d..b3d8d8ed 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -39,4 +39,4 @@ 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 .
+along with this program. If not, see .
diff --git a/COPYING b/COPYING
index 94a9ed02..f288702d 100644
--- a/COPYING
+++ b/COPYING
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
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 .
+ along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
@@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
-.
+.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
-.
+.
diff --git a/ChangeLog-2012 b/ChangeLog-2012
index 6ff8f0d7..882818f3 100644
--- a/ChangeLog-2012
+++ b/ChangeLog-2012
@@ -77,7 +77,7 @@
Empty unions are not accepted by the ISO C99 grammar or by at
least some versions of Sun Studio. Reported by Wolfgang S. Kechel
at
- .
+ .
* NEWS (2.5.1): Document fix.
* THANKS (Wolfgang S. Kechel): Add.
* tests/existing.at (GNU Cim Grammar)
@@ -104,7 +104,7 @@
build: avoid YACC typo inherited from Autoconf.
The typo shows up in the `configure --help' output. Reported by
W.C.A. Wijngaards and Paul Eggert at
- .
+ .
* README-hacking (Release Procedure): Remind about updating
maintainer tools before a release.
* THANKS (W.C.A. Wijngaards): Add.
@@ -115,7 +115,7 @@
build: create xz instead of bzip2 tarballs.
Suggested by Jim Meyering at
- .
+ .
* README-hacking (Release Procedure): Update example.
* configure.ac (AM_INIT_AUTOMAKE): Replace dist-bzip2 with
dist-xz.
@@ -153,7 +153,7 @@
doc: motivate named references.
Suggested by Hans Aberg at
- .
+ .
* doc/bison.texinfo (Named References): Explain briefly how
they're better than the traditional positional references.
@@ -161,7 +161,7 @@
doc: discuss named references after locations.
Reported by Hans Aberg at
- .
+ .
* NEWS (2.5.1): Document.
* doc/bison.texinfo (Named References): Because it discusses
locations in addition to semantic values, move this subsection out
@@ -187,7 +187,7 @@
configure with --enable-gcc-warnings) and the sources that Bison
users build. Instead, use PACIFY_CC, which doesn't. This change
fixes compiler warnings reported by Tys Lefering at
- .
+ .
* configure.ac: Don't AC_DEFINE lint regardless of the configure
options. This change affects imported gnulib sources, where
IF_LINT still appears and depends on lint.
@@ -242,7 +242,7 @@
tests: pacify gcc 4.6.0's -Wunused-but-set-variable.
Reported by Jim Meyering at
- .
+ .
* tests/actions.at
(Default %printer and %destructor for mid-rule values): Define
YYLLOC_DEFAULT so that it uses its Rhs argument.
@@ -254,7 +254,7 @@
about yyresolveLocations's local yyrhsloc. When locations are
enabled, there's no such warning because YYLLOC_DEFAULT then uses
yyrhsloc. Reported by Jim Meyering at
- .
+ .
* data/glr.c (yyresolveLocations): Omit definition when locations
are disabled.
(yyresolveValue): Omit yyresolveLocations invocation when
@@ -282,7 +282,7 @@
Fix missing updates to GPLv3.
Reported by Tys Lefering at
- .
+ .
* src/print-xml.c, src/print-xml.h: In these files.
2011-03-27 Joel E. Denny
@@ -291,7 +291,7 @@
Thus, conflict reports are now affected by -Werror and -Wnone
(unless %expect or %expect-rr is specified). Reported by George
Neuner at
- .
+ .
* NEWS (2.5): Document.
* doc/bison.texinfo (Bison Options): Document.
* src/complain.c, src/complain.h (set_warning_issued): Export
@@ -327,7 +327,7 @@
Add -Wother so -Wnone suppresses all warnings.
Reported by George Neuner at
- .
+ .
* NEWS (2.5): Document.
* THANKS (George Neuner): Add.
* doc/bison.texinfo (Bison Options): Document.
@@ -356,7 +356,7 @@
Don't let -Wnone disable -Werror.
Discussed at
- .
+ .
* NEWS (2.5): Document.
* src/getargs.c (flags_argmatch): Accept a new argument that
specifies what flags "all" and thus "none" affect.
@@ -397,7 +397,7 @@
named references: fix double free.
In `rhs[name]: "a" | "b"', do not free "name" twice.
Reported by Tys Lefering.
-
+
* src/named-ref.h, src/named-ref.c (named_ref_copy): New.
* src/parse-gram.y (current_lhs): Rename as...
(current_lhs_symbol): this.
@@ -432,7 +432,7 @@
java: fix parser stack popping bug.
Reported at
- .
+ .
* THANKS (Angelo Borsotti): Add.
* data/lalr1.java (YYParser::YYStack::pop): Fix off-by-one error
in clearing the value stack. Previously, the top element of the
@@ -520,7 +520,7 @@
java: fix location handling bug.
Reported at
- .
+ .
* data/lalr1.java (YYParser::yylloc): For non-empty RHS, fix
reversed access to location stack.
* THANKS (Bernd Kiefer): Add.
@@ -548,7 +548,7 @@
doc: finish splitting apart the manual's Decl Summary section.
Suggested by Akim Demaille at
- .
+ .
* doc/bison.texinfo (Decl Summary): Extract most of the %define
entry into...
(%define Summary): ... this new subsection, and update all
@@ -562,7 +562,7 @@
doc: begin to split apart the manual's Decl Summary section.
Discussed in thread starting at
- .
+ .
* doc/bison.texinfo (Decl Summary): Extract most of the %code
entry into...
(%code Summary): ... this new subsection, and update all
@@ -619,8 +619,8 @@
parses `%token ID -123' as `%token ID - 123' and handles `-' as an
identifier. Now, `-' cannot be an identifier. Discussed in
threads beginning at
- ,
- .
+ ,
+ .
* NEWS (2.5): Update entry describing the dash extension to
grammar symbol names. Also, move that entry before the named
references entry because the latter mentions the former.
@@ -664,7 +664,7 @@
name. In reality, this is a syntax error, so the reference is
invalid regardless of the symbols actually appearing in the
production. Discussed at
- .
+ .
* src/scan-code.l (parse_ref): Report the above case as a syntax
error. Other than that, continue to handle this case like any
other invalid reference that Bison manages to parse because
@@ -675,7 +675,7 @@
doc: don't use @acronym.
Lately, many GNU packages are dropping it. See
- .
+ .
* doc/bison.texinfo: Remove all uses.
2011-01-05 Alex Rozenman
@@ -683,7 +683,7 @@
Do not allow identifiers that start with a negative number.
Reported by Paul Hilfinger as a side effect of named references
support at
- .
+ .
Suggested by Paul Eggert.
* src/scan-code.l ({letter}, {id}): Adjust lexical definitions.
* src/scan-gram.l ({letter}, {id}): Likewise.
@@ -711,7 +711,7 @@
maint: prepare to use year ranges in copyright notices.
* README (Copyright statements): New section explaining the range
notation. The GNU maintainers document requires this explanation:
- .
+ .
I copied our explanation from coreutils.
* build-aux/update-b4-copyright: Revert 2010-06-17 changes that
disabled Bison's automated use of ranges.
@@ -791,7 +791,7 @@
parse.lac: implement as %define variable.
LAC = lookahead correction. See discussion at
- .
+ .
However, one point there must be corrected: because of %nonassoc,
LAC is *not* always redundant for lr.type=canonical-lr.
* data/yacc.c: Accept values of "none" (default) or "full" for
@@ -919,7 +919,7 @@
Fix portability problem on OpenBSD 4.7.
Jim Meyering reported this in
- .
+ .
* data/yacc.c: Use EXIT_SUCCESS as a witness for stdlib.h,
not _STDLIB_H. EXIT_SUCCESS has been defined by the standard
for quite some time.
@@ -983,8 +983,8 @@
maint: add gettext version to release announcements.
Suggested by Paul Hilfinger at
-
- .
+
+ .
* cfg.mk (bootstrap-tools): Add gettext.
2010-08-04 Joel E. Denny
@@ -1112,10 +1112,10 @@
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
+ https://www.gnu.org/licenses/fdl.texi
Do not use date ranges in copyright notices.
- See http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices
+ See https://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices
* HACKING, Makefile.am, NEWS, PACKAGING, README, README-alpha:
* TODO, bootstrap, bootstrap.conf:
@@ -1289,7 +1289,7 @@
That is, keep them as warnings because that should be sufficient
to satisfy POSIX without creating backward compatibility issues.
Suggested by Richard Stallman at
- .
+ .
* NEWS (2.5): Remove mention of complaint.
* src/reader.c (grammar_rule_check): Convert complaint back to
warning.
@@ -1299,7 +1299,7 @@
build: don't require src/bison during bootstrap.
Suggested by Eric Blake at
- .
+ .
* bootstrap.conf (bootstrap_epilogue): New function to make sure
src/parse-gram.[ch] are stamped later than src/parse-gram.y.
@@ -1307,7 +1307,7 @@
i18n: fix untranslatable string.
Reported by Goran Uddeborg at
- .
+ .
* src/muscle-tab.c (muscle_percent_define_insert): Here.
2010-04-13 Akim Demaille
@@ -1366,7 +1366,7 @@
tests: fix for newer Sun Studio C++.
Reported by Dagobert Michelsen at
- .
+ .
* THANKS (Dagobert Michelsen): Add.
* configure.ac (AC_PREREQ): Set to 2.64 so we get the latest
Autoconf macro for handling the restrict keyword.
@@ -1377,7 +1377,7 @@
portability: fix pointer arithmetic to conform to C standard.
Reported by Tys Lefering at
- .
+ .
This fix is already implemented in glr.c and does not apply to
lalr1.java.
* data/lalr1.cc (yy::parser::parse): Increase size of
@@ -1401,7 +1401,7 @@
portability: fix test suite for GCC 4.5's new #error message.
Reported by Tys Lefering at
- .
+ .
* NEWS (2.4.3): Mention.
* tests/synclines.at (AT_TEST_SYNCLINE): Implement.
@@ -1421,7 +1421,7 @@
portability: fix for BSD make.
Reported by Johan van Selst at
- .
+ .
* tests/local.mk ($(TESTSUITE)): Qualify package.m4 in
this dependency list as in package.m4's target rule.
@@ -1429,7 +1429,7 @@
portability: fix spawning on at least FreeBSD 8 and FreeBSD 9.
Reported by Johan van Selst at
- .
+ .
* NEWS (2.4.3): New.
* THANKS (Johan van Selst): Add.
* etc/prefix-gnulib-mk (prefix): Adjust regex for makefile
@@ -1470,11 +1470,11 @@
then reported it. However, there's some sort of race condition,
because the new test group occasionally succeeded.
Reported by Albert Chin at
- .
+ .
There were also problems with the test suite livelocking on
Tru64 5.1b. Reported by Didier Godefroy at
- .
+ .
Switching to create_pipe_bidi suggested by Akim Demaille.
To attempt to solve both of these problems, switch to gnulib's
@@ -1603,7 +1603,7 @@
POSIX: warn if %prec's token was not defined.
Reported by Florian Krohm at
- .
+ .
* NEWS (2.4.2): Document.
* src/reader.c (grammar_rule_check): Implement.
(grammar_current_rule_prec_set): Add comments explaining that we
@@ -1755,9 +1755,9 @@
portability: use -DGNULIB_POSIXCHECK.
Reported by Eric Blake. See discussions at
-
+
and
- .
+ .
* HACKING (Release checks): Suggest -DGNULIB_POSIXCHECK.
* bootstrap.conf (gnulib_modules): Add all the printf modules
suggested by -DGNULIB_POSIXCHECK. Add realloc-posix as
@@ -1785,7 +1785,7 @@
Expand GLR acronym in summary of Bison.
Based on discussion with Akim Demaille starting at
- .
+ .
* doc/bison.texinfo (Introduction): Here.
* src/getargs.c (usage): Here.
@@ -1853,7 +1853,7 @@
tests: skip tests of file names that platform does not support.
Reported by Michael Raskin at
- .
+ .
* THANKS (Michael Raskin): Add.
* tests/output.at (AT_CHECK_OUTPUT_FILE_NAME): Fix. Cygwin used
to fail at least for file names containing ":" or "\".
@@ -2155,7 +2155,7 @@
Fix gcc 3.4.4 shadowing warning reported by Eric Blake.
See
- .
+ .
* src/scan-code.h (code_props_rule_action_init): Rename
named_ref arg to name so it doesn't shadow named_ref type. This
makes it consistent with the function definition in scan-code.l
@@ -2334,7 +2334,7 @@
Fix complaints about escape sequences.
Discussed starting at
- .
+ .
* src/scan-gram.l (SC_ESCAPED_STRING, SC_ESCAPED_CHARACTER):
For a \0 and similar escape sequences meaning the null
character, report an invalid escape sequence instead of an
@@ -2368,7 +2368,7 @@
This patch simplifies "variables: rename namespace as
api.namespace", commit 67501061076ba46355cfd9f9361c7eed861b389c.
Suggested by Joel E. Denny in
- http://lists.gnu.org/archive/html/bison-patches/2009-07/msg00006.html
+ https://lists.gnu.org/r/bison-patches/2009-07/msg00006.html
* src/muscle-tab.c (muscle_percent_variable_update): New.
(muscle_percent_define_insert): Use it in replacement of the
@@ -2432,7 +2432,7 @@
build: require gettext 0.17.
Suggested by Bruno Haible.
- http://lists.gnu.org/archive/html/bug-bison/2009-08/msg00009.html
+ https://lists.gnu.org/r/bug-bison/2009-08/msg00009.html
* configure.ac: require gettext 0.17 to ensure compatibility with
gnulib.
@@ -2443,7 +2443,7 @@
Bison was uselessly requiring the formatstring macros from
gettext, which resulted in mo files not being installed on systems
that perfectly supported Bison mo files. Lower the requirement.
- http://lists.gnu.org/archive/html/bug-bison/2009-08/msg00006.html
+ https://lists.gnu.org/r/bug-bison/2009-08/msg00006.html
* configure.ac: Require need-ngettext instead of
need-formatstring-macros.
@@ -2698,7 +2698,7 @@
Some M4 cleanup in the testsuite.
Suggested by Eric Blake at
- .
+ .
* tests/existing.at (_AT_TEST_EXISTING_GRAMMAR): Do not
complicate the code by distinguishing between a missing value
and an empty string value for an optional argument. This fix is
@@ -2718,7 +2718,7 @@
Revert unnecessary column realignment in --help output.
Reported by Akim Demaille at
- .
+ .
* src/getargs.c (usage): Here.
2009-07-04 Alex Rozenman
@@ -2813,7 +2813,7 @@
variables: rename namespace as api.namespace.
Discussed in
- http://lists.gnu.org/archive/html/bison-patches/2009-04/msg00033.html
+ https://lists.gnu.org/r/bison-patches/2009-04/msg00033.html
* data/bison.m4 (b4_percent_define_copy_, b4_percent_define_copy):
New.
@@ -2867,7 +2867,7 @@
cases.
Avoid this.
Addresses another form of nondeterminism reported by Joel E. Denny.
- http://lists.gnu.org/archive/html/bison-patches/2009-05/msg00023.html
+ https://lists.gnu.org/r/bison-patches/2009-05/msg00023.html
* tests/input.at (Numbered tokens): Split the hexadecimal/decimal
test in two.
@@ -2889,7 +2889,7 @@
deterministic user-token-number redeclaration errors.
Address nondeterminism reported by Joel E. Denny.
- http://lists.gnu.org/archive/html/bison-patches/2009-05/msg00023.html
+ https://lists.gnu.org/r/bison-patches/2009-05/msg00023.html
* src/uniqstr.h: Comment changes.
* src/location.h (boundary_cmp, location_cmp): New.
@@ -2970,7 +2970,7 @@
Rename token.prefix as api.tokens.prefix.
Discussed here.
- http://lists.gnu.org/archive/html/bison-patches/2009-05/msg00024.html.
+ https://lists.gnu.org/r/bison-patches/2009-05/msg00024.html.
* NEWS, data/bison.m4, data/c.m4, data/java.m4, doc/bison.texinfo,
* tests/c++.at, tests/calc.at, tests/java.at, tests/local.at
@@ -3088,7 +3088,7 @@
List accepted values for a %define enum variable with an invalid value.
Suggested by Akim Demaille at
- .
+ .
* data/bison.m4 (_b4_percent_define_check_values): Implement.
* src/muscle-tab.c (muscle_percent_define_check_values): Implement.
* tests/input.at (%define lr.default_reductions invalid values): Merge
@@ -3488,9 +3488,9 @@
Fix strange %define locations for default values.
Reported by Akim Demaille at
-
+
and discussed again starting at
- .
+ .
* data/bison.m4 (b4_percent_define_default): Leave syncline blank
because location information is bogus.
Use angle brackets to delimit fake file name because square brackets
@@ -4173,7 +4173,7 @@
Fix unexpanded macros in GLR defines file.
Reported by Csaba Raduly at
- .
+ .
* THANKS (Csaba Raduly): Add.
* data/glr.c: Fix overquoting on b4_prefix for yylval and yylloc.
* tests/calc.at (_AT_DATA_CALC_Y): If %defines is specified, generate
@@ -5376,7 +5376,7 @@
Fix user actions without a trailing semicolon.
Reported by Sergei Steshenko at
- .
+ .
* THANKS (Sergei Steshenko): Add.
* src/scan-code.l (SC_RULE_ACTION): Fix it.
* tests/regression.at (Fix user actions without a trailing semicolon):
@@ -5767,7 +5767,7 @@
Say %language is experimental.
We're thinking of extending it's effect on output file naming. See the
thread at
- .
+ .
* NEWS: Say it's experimental.
* doc/bison.texinfo (Decl Summary): Say it's experimental, and so don't
recommend it over %skeleton for now.
@@ -5905,7 +5905,7 @@
Fix yyerror_range for user-defined location type in C++. Reported by
Georg Sauthoff at
- .
+ .
* data/lalr1.cc (parse): Change type of yyerror_range to location_type.
* THANKS (Georg Sauthoff): Add.
@@ -6007,7 +6007,7 @@
* Makefile.am ($(top_srcdir)/.version): Declare configure as a
dependency, and add comments justifying this in more detail. Discussed
starting at
- .
+ .
2008-08-06 Eric Blake
@@ -6052,7 +6052,7 @@
* configure.ac (AM_INIT_AUTOMAKE): Set gnu strictness during
development and gnits strictness for releases. Based on Eric Blake's
suggestion at
- .
+ .
2008-07-31 Paolo Bonzini
@@ -6139,7 +6139,7 @@
Fix untranslatable composition of sentences. Reported by Goran
Uddeborg at
- .
+ .
* THANKS (Goran Uddeborg): Add.
* src/reduce.c (reduce_print): Report the number of nonterminals and
rules useless in the grammar in separate sentences.
@@ -6171,7 +6171,7 @@
2008-07-15 Joel E. Denny
Improve forward-compatibility with GNU M4. Reported by Eric Blake at
- .
+ .
* bootstrap.conf (gnulib_modules): Add unsetenv.
* lib/.gitignore, lib/.cvsignore (/unsetenv.c): Add.
* m4/.gitignore, m4/.cvsignore (/environ.m4): Add.
@@ -6253,7 +6253,7 @@
Work-around an Autoconf 2.62 AT_SETUP bug that was not present in
2.61. Reported by Juan Manuel Guerrero at
- .
+ .
* tests/output.at ("Output file name: ("): Comment out test case for
now.
("Output file name: )"): Likewise.
@@ -6286,7 +6286,7 @@
2008-04-20 Joel E. Denny
Fix make dist infinite loop reported by Juan Manuel Guerrero at
- .
+ .
* .cvsignore: Add .version.
* .version.in: New.
* bootstrap.conf (gnulib_modules): Add git-version-gen.
@@ -6359,7 +6359,7 @@
2008-02-20 Joel E. Denny
Fix impure push parser compile error reported by Bob Rossi at
- .
+ .
* data/yacc.c: Clean up whitespace in the output a little.
(yypstate_allocated): Define for impure push parsers regardless of
whether the pull interface is also requested.
@@ -6397,7 +6397,7 @@
2008-02-16 Joel E. Denny
Fix documentation problems reported by Tim Josling at
- .
+ .
* NEWS (2.3a+): Mention removal of --no-parser, -n, and %no-parser.
* doc/bison.texinfo (Token Decl): Token numbers are *nonnegative*
integers. Explain the effect of literal string aliases on error
@@ -6408,7 +6408,7 @@
Accept a token number in a %left, %right, or %nonassoc for POSIX
conformance. Reported by Tim Josling at
- .
+ .
* NEWS (2.3a+): Mention.
* doc/bison.texinfo (Precedence Decl): Describe how literal strings
and code numbers are treated by precedence declarations.
@@ -6450,7 +6450,7 @@
* data/yacc.c (yyparse): Correct the comment when locations aren't used.
Problem reported by Claudio Saavedra in
- .
+ .
2008-01-05 Wojciech Polak
@@ -6461,7 +6461,7 @@
Automate regression testing of the XML/XSLT implementation. Discussed
starting at
- .
+ .
* configure.ac (XSLTPROC): New substitution.
* Makefile.am (maintainer-xml-check): New phony target invoking...
* tests/Makefile.am (maintainer-xml-check): ... this new phony target
@@ -6521,7 +6521,7 @@
* src/print-xml.h (xml_indent): Prototype.
* tests/existing.at (GNU pic Grammar): Fix a rule miscopied from
- .
+ .
2007-12-08 Joel E. Denny
@@ -6535,7 +6535,7 @@
In the XML output, don't print the list of rules where symbols appear.
Compute it in XSLT instead. Discussed at
- .
+ .
* data/xslt/bison.xsl (bison:ruleByLhs): New.
(bison:ruleByRhs): New.
* data/xslt/xml2text.xsl (xsl:template match="terminal"): Use
@@ -6559,7 +6559,7 @@
Don't let --report affect XML output; always print all information.
Discussed at
- .
+ .
* src/conflicts.c (log_resolution): Implement.
* src/print-xml.c (print_core): Implement.
(print_state): Implement.
@@ -6577,7 +6577,7 @@
In the XML output, list useless and unused symbols and rules with the
useful ones and add a "usefulness" attribute. Discussed starting at
- .
+ .
* src/gram.c (grammar_rules_partial_print_xml): Remove.
(grammar_rules_print_xml): Print all rules instead of just those
useful in the grammar, and add a "usefulness" attribute.
@@ -6639,7 +6639,7 @@
When reporting useless rules and nonterminals, say "useless in grammar"
instead of "useless", and say "useless in parser" instead of "never
reduced". Discussed starting at
- .
+ .
* NEWS (2.3a+): Mention this change.
* data/xslt/xml2text.xsl: Update output text and expected input XML
element names to match changes below.
@@ -6744,7 +6744,7 @@
Deprecate %pure-parser and add `%define api.pure'. Discussed starting
at
- .
+ .
* NEWS (2.3a+): Mention.
* data/bison.m4 (b4_pure_if): Don't define it here.
* data/c.m4 (b4_identification): Depend on individual skeletons to
@@ -6788,7 +6788,7 @@
2007-10-28 Joel E. Denny
%define push_pull -> %define api.push_pull. Discussed starting at
- .
+ .
* data/push.c: Expect the new name.
* data/yacc.c: Likewise.
* doc/bison.texinfo (Push Decl): Update.
@@ -6813,7 +6813,7 @@
For the XML output's terminal element, rename @number to @token-number,
and add @symbol-number. In the nonterminal element, rename @number to
@symbol-number. Discussed starting at
- .
+ .
* data/xslt/xml2text.xsl (xsl:template match="terminal"): Update for
renames.
(xsl:template match="nonterminal"): Likewise.
@@ -6947,7 +6947,7 @@
2007-10-08 Joel E. Denny
Improve C++ namespace support. Discussed starting at
- .
+ .
* data/c++.m4: (b4_namespace_ref, b4_namespace_open,
b4_namespace_close): New macros that interpret the %define variable
"namespace" so its value can contain "::" to indicate nested
@@ -7302,7 +7302,7 @@
* data/yacc.c (yyexhaustedlab): Define it when YYERROR_VERBOSE is
true since it's then always used regardless of whether yyoverflow is
defined. Reported by Christian Burger at
- .
+ .
* THANKS: Add Christian Burger.
* ChangeLog: For changes in doc/bison.texinfo, consistently reference
@@ -7319,7 +7319,7 @@
2007-07-27 Joel E. Denny
Fix push parsing memory leak reported by Brandon Lucia at
- .
+ .
* THANKS: Add Brandon Lucia.
* data/push.c (yypstate_delete): Free the stack if it was reallocated
but the parse never completed and thus freed it.
@@ -7376,7 +7376,7 @@
2007-07-02 Joel E. Denny
Fix C++ test cases after recent Gnulib changes. Discussed starting at
- .
+ .
* examples/calc++/Makefile.am (DEFAULT_INCLUDES): Override Automake's
definition in order to avoid Gnulib headers since we don't use config.h
here.
@@ -7450,11 +7450,11 @@
* src/Makefile.am (yacc): Quote target action commands properly so
that the yacc script isn't corrupt. Reported by Hans Aberg at
- .
+ .
* data/glr.c (yylval): As in yacc.c, don't extern in the header for
the case of pure parsers. Reported by Frans Englich at
- .
+ .
* THANKS: Add Frans Englich.
* NEWS (2.3a+): In the %code entry, reference section `Bison
@@ -7664,7 +7664,7 @@
Use YYFPRINTF instead of fprintf where appropriate. Reported by
Sebastien Fricker at
- .
+ .
* THANKS: Add Sebastien Fricker.
* data/glr.c, data/push.c, data/yacc.c (yy_reduce_print): Implement.
* doc/bison.texinfo (Tracing): Make it clearer that YYFPRINTF must
@@ -7699,7 +7699,7 @@
Enable the Java related testsuite tests when the only Java compiler
found is a gcj < 4.3. Discussed at
- .
+ .
* configure.ac (gt_JAVACOMP): Don't specify a target_version.
2007-02-11 Joel E. Denny
@@ -7872,7 +7872,7 @@
Implement support for relative and absolute skeleton file names.
Discussed starting at
- .
+ .
* doc/bison.texinfo (Decl Summary): Document in %skeleton entry.
(Bison Options): Document in --skeleton entry.
* src/output.c (output_skeleton): Use strncpy rather than strcpy since
@@ -7990,7 +7990,7 @@
Ignore YYSTACK_USE_ALLOCA for push parsers since the stacks can't be
locals. Reported by Juan Manuel Guerrero at
- .
+ .
* data/push.c: Enclose the #ifdef YYSTACK_USE_ALLOCA in b4_push_if.
Fix some indentation also.
* tests/torture.at (Exploding the Stack Size with Alloca): Add comment
@@ -8035,7 +8035,7 @@
qualifiers in %code directives, and restrict the characters that are
allowed in them to M4-friendly ones. For %define, continue to support
the quoted form as a deprecated feature. Discussed starting at
- .
+ .
* NEWS (2.3a+): Add entry for the change to %define. Update entry for
%code.
* doc/bison.texinfo (Prologue Alternatives): Update.
@@ -8206,7 +8206,7 @@
This provides more flexibility than m4_fatal, improves the error
message format, and captures messages for translation. Discussed
starting at
- .
+ .
* data/bison.m4 (b4_error): New, invoked by...
(b4_warn, b4_complain, b4_fatal): ... these new macros to wrap the
skeleton scanner's new @warn(...@), @complain(...@), and @fatal(...@)
@@ -8256,7 +8256,7 @@
Consolidate the 4 prologue alternative directives (%code, %requires,
%provides, and %code-top) into a single %code directive with an
optional qualifier field. Discussed at
- .
+ .
* NEWS (2.3a+): Rewrite the existing entry for the prologue
alternatives.
* doc/bison.texinfo (Prologue Alternatives): Update.
@@ -8370,7 +8370,7 @@
interface. This patch merely implements code_props in scan-code.h and
scan-code.l. Future patches will rewrite other modules to use it.
Discussed starting at
- .
+ .
* src/location.h (EMPTY_LOCATION_INIT): Define so that it's easier to
consistently initialize const structs that have an empty location
field.
@@ -8460,7 +8460,7 @@
instead of passing a yylexp argument to yypull_parse, and don't
generate yypull_parse or yyparse unless %push-pull-parser is declared.
Discussed starting at
- .
+ .
* data/bison.m4 (b4_pull_if): New.
* data/c.m4 (b4_identification): Define YYPULL similar to YYPUSH.
* data/push.c: Improve M4 quoting a little.
@@ -8752,7 +8752,7 @@
2006-12-16 Joel E. Denny
Make %push-parser imply %pure-parser. This fixes several bugs; see
- .
+ .
* src/parse-gram.y (prologue_declaration): For %push-parser, also set
pure_parser = true.
* data/push.c: Don't bother testing b4_push_if when deciding whether
@@ -8906,7 +8906,7 @@
Document Yacc prologue alternatives and default %destructor's and
%printer's as experimental. Don't mention Java yet. Discussed at
- .
+ .
* NEWS (2.3a+): Say they're experimental. Remove any mention of Java.
(2.3a): Annotate this entry to say the old forms of these features were
also experimental.
@@ -8918,7 +8918,7 @@
Support a file name argument to %defines. Deprecate `=' in
%file-prefix, %name-prefix, and %output. Discussed at
- .
+ .
* NEWS (2.3a+): Mention.
* doc/bison.texinfo (Decl Summary, Table of Symbols): Add entry for new
form of %defines, and remove `=' from entries for %file-prefix,
@@ -8948,7 +8948,7 @@
2006-11-20 Joel E. Denny
Rename to <>. Discussed starting at
- .
+ .
* NEWS (2.3a+): Update.
* doc/bison.texinfo (Freeing Discarded Symbols, Table of Symbols):
Update.
@@ -8985,7 +8985,7 @@
Fix memory leaks in scanners generated by at least Flex 2.5.9 and
later. Reported by Paul Eggert in
- .
+ .
* src/flex-scanner.h (yylex_destroy): Define for Flex before 2.5.9.
* src/scan-code.l (translate_action): Don't bother invoking
yy_delete_buffer (YY_CURRENT_BUFFER) before creating the first buffer.
@@ -9079,7 +9079,7 @@
Disable unset/unused mid-rule value warnings by default, and recognize
--warnings=midrule-values to enable them. Discussed starting at
- .
+ .
* NEWS (2.3a+): Mention.
* src/getargs.c, src/getargs.h (warnings_args, warnings_types, enum
warnings): Add entry for midrule-values subargument.
@@ -9122,7 +9122,7 @@
Split the default %destructor/%printer into two kinds: <*> and .
Discussed starting at
- .
+ .
* NEWS (2.3a+): Mention.
* doc/bison.texinfo (Freeing Discarded Symbols): Document this and the
previous change today related to mid-rules.
@@ -9168,7 +9168,7 @@
Don't apply the default %destructor/%printer to an unreferenced midrule
value. Mentioned at
- .
+ .
* src/symtab.c (dummy_symbol_get): Name all dummy symbols initially
like $@n instead of just @n so that the default %destructor/%printer
logic doesn't see them as user-defined symbols.
@@ -9206,7 +9206,7 @@
Similar to the recently removed %before-header, add %code-top as the
alternative to the pre-prologue. Mentioned at
- .
+ .
Also, let the prologue alternatives appear in the grammar section.
* src/parse-gram.y (PERCENT_CODE_TOP): New token.
(prologue_declaration): Move the existing prologue alternatives to...
@@ -9234,7 +9234,7 @@
2006-10-16 Paolo Bonzini
Replace %*-header with %provides, %requires, %code. See discussion at
- http://lists.gnu.org/archive/html/bison-patches/2006-10/msg00002.html
+ https://lists.gnu.org/r/bison-patches/2006-10/msg00002.html
* data/bison.m4 (b4_user_requires, b4_user_provides): New.
(b4_user_start_header): Remove.
@@ -9346,7 +9346,7 @@
* doc/bison.texinfo (Understanding, Bison Options): Likewise.
* THANKS: Add Satya Kiran Popuri, who proposed the initial version
of this change in
- .
+ .
* TODO: Remove Graphviz entry.
* src/Makefile.am (bison_SOURCES): Add graphviz.c and graphviz.h;
remove vcg.c, vcg.h, vcg_defaults.h.
@@ -9408,7 +9408,7 @@
2006-10-05 Paul Eggert
Fix test failure reported by Tom Lane in
-
+
and try to make such failures easier to catch in the future.
* data/glr.c (YYTRANSLATE): Don't check for nonpositive arg;
that's now the caller's responsibility.
@@ -9533,7 +9533,7 @@
Port to GCC 2.95. First two problems reported by Michael Deutschmann in
- .
+ .
* src/parse-gram.y (symbol_declaration): Don't put statements
before declarations; it's not portable to C89.
@@ -9622,7 +9622,7 @@
* data/glr.c (b4_shared_declarations): Put start-header first,
before any #includes that we generate, so that feature-test
macros work. Problem reported by Michael Deutschmann in
- .
+ .
* data/lalr1.cc: Likewise.
* doc/bison.texinfo (Prologue): Document that feature-test macros
should be defined before any Bison declarations.
@@ -9632,7 +9632,7 @@
* doc/bison.texinfo (Calc++ Parser): Fix memory leak reported by
Sander Brandenburg in
- .
+ .
Also, fix minor white space and comment issues.
(Prologue): Mention that it's better to define feature-test macros
before Bison declarations. Problem reported by Michael Deutschmann.
@@ -9646,9 +9646,9 @@
Finish implementation of per-type %destructor/%printer. Discussed
starting at
-
+
and
- .
+ .
* NEWS (2.3+): Add a description of this feature to the default
%destructor/%printer description.
* doc/bison.texinfo (Freeing Discarded Symbols): Likewise.
@@ -9676,7 +9676,7 @@
Require default %destructor/%printer to be declared using
%symbol-default instead of an empty symbol list, and start working on
new per-type %destructor/%printer. Discussed at
- .
+ .
* NEWS (2.3+): Add %symbol-default to example.
* bison.texinfo (Freeing Discarded Symbols): Likewise.
(Table of Symbols): Add entry for %symbol-default.
@@ -9881,10 +9881,10 @@
not declare a specific %printer/%destructor. Thus, the parser uses it
for token 0 if the user declares it but not if Bison generates it as
$end. Discussed starting at
- ,
- ,
+ ,
+ ,
and
- .
+ .
* NEWS (2.3+): Mention.
* doc/bison.texinfo (Actions in Mid-Rule): It's no longer impossible to
declare a %destructor for a mid-rule's semantic value. It's just
@@ -9922,9 +9922,9 @@
Clean up handling of %destructor for the end token (token 0).
Discussed starting at
-
+
and
- .
+ .
Make the skeletons consistent in how they pop the end token and invoke
its %destructor.
@@ -10006,7 +10006,7 @@
rather than a for-loop that declares a local bool variable. This
should work around a compatibility problem with a Cray x1e C++
compiler reported by Hung Nguyen in
- .
+ .
The for-loop was introduced in the 2004-11-17 change but I don't
know why it was needed.
@@ -10080,7 +10080,7 @@
2006-07-09 Joel E. Denny
Change %merge result type clash warnings to errors. Discussed at
- .
+ .
* src/reader.c (record_merge_function_type): Use complain_at.
* tests/glr-regression.at (Missed %merge type warnings when LHS type is
declared later): Update test case results.
@@ -10211,9 +10211,9 @@
Get action warnings (grammar_rule_check) right even when symbol
declarations appear after the rules. Discussed at
-
+
and
- .
+ .
Don't mistake the type of $$ in a midrule to be that of its parent
rule's $$.
* src/reader.c (grammar_current_rule_end): Don't invoke
@@ -10280,7 +10280,7 @@
Fix bug that mistakes braced code in a declaration in the rules section
to be a rule action. Mentioned at
- .
+ .
* src/scan-gram.l: Move midrule action detection from the start of the
scanning of any braced code to...
* src/parse-gram.y (rhs): ... the parsing of braced code as a rule
@@ -10308,7 +10308,7 @@
blocks from post-prologue blocks. Add new order-independent
declarations %before-header and %after-header as alternatives to the
traditional Yacc pre-prologue and post-prologue blocks. Discussed at
- .
+