]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Don't swallow $1 in textual local variables.
authorEric Blake <ebb9@byu.net>
Fri, 21 Mar 2008 17:07:08 +0000 (11:07 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 21 Mar 2008 17:32:46 +0000 (11:32 -0600)
commitf6bc7b22d4e0ca0209bd3133cc56f4dc681a6209
tree35e197ad0f37691c2aea9cf12de786dcb4b74eef
parent3dee95e87814d0728ba19de27e26d364b8fd8c2c
Don't swallow $1 in textual local variables.

* lib/m4sugar/m4sugar.m4 (m4_combine): Don't use overquoting and
expansion of text arguments, as that swallows $1.
(m4_text_wrap): Likewise, by splitting out...
(_m4_text_wrap): ...new helper macro.  Also, allow arbitrary
expression for width.
* tests/m4sugar.at (m4@&t@_text_wrap): Test this.
(m4@&t@_combine): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/m4sugar/m4sugar.m4
tests/m4sugar.at