]> git.saurik.com Git - bison.git/commit - ChangeLog
variables: simplify the upgrade of namespace into api.namespace.
authorAkim Demaille <demaille@gostai.com>
Wed, 19 Aug 2009 12:24:15 +0000 (14:24 +0200)
committerAkim Demaille <demaille@gostai.com>
Wed, 19 Aug 2009 12:24:15 +0000 (14:24 +0200)
commit171ad99d6421935a278656be6dc7161591835d00
tree61da926ac90f0a63b970f973a5fd37bb93534c5d
parentd59e456dbf5d9747e2fe0c0539f2ec670ce6f9c4
variables: simplify the upgrade of namespace into api.namespace.

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

* src/muscle-tab.c (muscle_percent_variable_update): New.
(muscle_percent_define_insert): Use it in replacement of the
previous tr invocation.
Remove variable_tr, no longer needed.
* data/bison.m4 (b4_percent_define_copy_, b4_percent_define_copy):
Remove.
* data/c++.m4: No longer handle namespace -> api.namespace.
* tests/input.at (%define backward compatibility): Check that
namespace is treated as api.namespace.
ChangeLog
data/bison.m4
data/c++.m4
src/muscle-tab.c
tests/input.at