]> git.saurik.com Git - bison.git/commit
variables: rename namespace as api.namespace.
authorAkim Demaille <demaille@gostai.com>
Wed, 24 Jun 2009 14:52:23 +0000 (16:52 +0200)
committerAkim Demaille <demaille@gostai.com>
Wed, 24 Jun 2009 15:38:48 +0000 (17:38 +0200)
commit67501061076ba46355cfd9f9361c7eed861b389c
treead27467934c546724e0ff55a59d81e22accc1554
parent4197678606a0bad3da0d16a1c7c6729a6b3c362a
variables: rename namespace as api.namespace.

Discussed in
http://lists.gnu.org/archive/html/bison-patches/2009-04/msg00033.html

* data/bison.m4 (b4_percent_define_copy_, b4_percent_define_copy):
New.
(b4_percent_define_use): New.
Use it where applicable.
* data/c++.m4: Replace uses of the variable "namespace" by
"api.namespace".
Default the latter to the former.
* doc/bison.texinfo (Decl Summary): Document "namespace" as
obsolete.
Document api.namespace.
Use @samp to document %define uses, keep @code for identifiers.
* NEWS: Likewise.
* tests/c++.at, tests/input.at: Test api.namespace instead of
namespace. (The tests passed with namespace.)
ChangeLog
NEWS
data/bison.m4
data/c++.m4
doc/bison.texinfo
tests/c++.at
tests/input.at