* m4/symtab.c (m4_symbol_rename): New function that performs a low
commitd845b8cf6d23d10415362c39399348f70b7f2722
authorGary V. Vaughan <gary@gnu.org>
Sun, 8 May 2005 00:37:43 +0000 (8 00:37 +0000)
committerEric Blake <ebb9@byu.net>
Sat, 6 Oct 2007 04:01:13 +0000 (5 22:01 -0600)
treec3f00f495381915af3106238d5a6944b1f495abf
parentc84e45bbf6678205293436b2d97a2850913f0397
* m4/symtab.c (m4_symbol_rename): New function that performs a low
level symbol rename.
* m4/m4module.h (m4_symbol_rename): Declare it as part of the API.
* modules/gnu.c (regsub): Factored out of m4_epatsubst_do...
(m4_patsubst_do, m4_renamesyms_do): ...wrappers that use
regsub...
(erenamesyms, renamesyms): ...builtins that use these to implement
macro renaming by regular expression.
* doc/m4.texinfo (Erenamesyms and Renamesyms): Document them.
* tests/generate.awk: Allow some forbidden `m4_' prefixed symbols
to stop the new generated tests from choking.
ChangeLog
doc/m4.texinfo
m4/m4module.h
m4/symtab.c
modules/gnu.c
tests/generate.awk