Allow unbalanced () in m4_expand.
commit4d953cea64e30ab7cce948fbbae264da537e260e
authorEric Blake <ebb9@byu.net>
Wed, 23 Apr 2008 15:24:46 +0000 (23 09:24 -0600)
committerEric Blake <ebb9@byu.net>
Wed, 23 Apr 2008 15:32:05 +0000 (23 09:32 -0600)
tree148bad35c15d7cfd012c562e0dc8d6485c72ecd4
parentc60735fbb8448eff772caefa90ae553e7e0b7623
Allow unbalanced () in m4_expand.

* lib/m4sugar/m4sugar.m4 (m4_expand, _m4_expand): Use more complex
quotes.
(m4_noquote, _m4_split): Use consistent complex quote.
* tests/autotest.at (Left paren, Right paren): Test this.
(Parentheses): Ensure new quadrigraphs still work.
(AT_CHECK_AT_TITLE_CHAR): All title char tests exercise m4_expand.
* NEWS: Mention the fix.
* doc/autoconf.texi (Quadrigraphs): Revert mention of macros that
require quadrigraphs for ().
(Evaluation Macros) <m4_expand>: Relax the restriction against
unbalanced ().
(Pretty Help Strings) <AS_HELP_STRING>: Likewise.
(Writing Testsuites) <AT_SETUP>: Likewise.
Reported by Joel E. Denny, fix suggested by Noah Misch.

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