]> git.saurik.com Git - bison.git/commit - doc/bison.texi
Remove quotes from variables names in %define directives and from
authorJoel E. Denny <jdenny@ces.clemson.edu>
Tue, 9 Jan 2007 01:17:51 +0000 (01:17 +0000)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Tue, 9 Jan 2007 01:17:51 +0000 (01:17 +0000)
commit16dc6a9ebf3b936f5383c49d5f29738a53538395
treeb43e21d5c24f0aacecc971f693ef595a32eb1bc5
parente9813cd4f8f86fd822f2994d60cf4f9a9afe0221
Remove quotes from variables names in %define directives and from
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
<http://lists.gnu.org/archive/html/bison-patches/2007-01/msg00023.html>.
* NEWS (2.3a+): Add entry for the change to %define.  Update entry for
%code.
* doc/bison.texinfo (Prologue Alternatives): Update.
(Bison Declaration Summary): In %defines entry, update mention of
`%code requires' and `%code provides'.
(C++ Location Values): Update %define uses.
(Calc++ Parser Interface): Likewise.
(Calc++ Parser): Likewise, and update `%code requires' uses.
(Bison Symbols): Update %code documentation.
* src/parse-gram.y (prologue_declaration): For %define variables, use
`variable' instead of `STRING'.
(grammar_declaration): For %code qualifiers, use `ID' instead of
`STRING'.
(variable): New nonterminal that takes an `ID' or a `STRING'.
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Update %code
and %define uses.
* tests/calc.at (_AT_DATA_CALC_Y): Update %define use.
* tests/input.at (Reject unused %code qualifiers): Update %code uses.
(%define errors): Update %define uses.
ChangeLog
NEWS
doc/bison.texinfo
src/parse-gram.c
src/parse-gram.y
tests/actions.at
tests/calc.at
tests/input.at