diff options
author | Eric Blake <ebb9@byu.net> | 2008-04-22 14:19:27 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2008-04-22 16:28:14 -0600 |
commit | c60735fbb8448eff772caefa90ae553e7e0b7623 (patch) | |
tree | a47e02cabea0a6b69f4b2013f61835d574b08cf2 /bin | |
parent | 9651f4a0e1b80c55da23a5ceaa0237121e0b95f2 (diff) | |
download | autoconf-c60735fbb8448eff772caefa90ae553e7e0b7623.tar.gz |
Support unbalanced () in AT_SETUP by adding two new quadrigraphs.
* bin/autom4te.in (handle_output): Substitute @{:@ and @:}@.
(handle_traces): Likewise.
* lib/m4sugar/m4sugar.m4 (m4_qlen): Account for new quadrigraphs.
* tests/autotest.at (AT_CHECK_AT_TITLE_CHAR): Add new tests.
* doc/autoconf.texi (Quadrigraphs): Document them.
(Evaluation Macros) <m4_expand>: Enhance documentation.
(Text processing Macros) <m4_text_box>: Document cases where
quadrigraphs can help for problemetic unbalanced parentheses.
(Pretty Help Strings) <AS_HELP_STRING>: Likewise.
(Writing Testsuites) <AT_SETUP>: Likewise.
(Limitations of Builtins) <case>: Consolidate text on unbalanced
parentheses, and add an example of creative comments.
* NEWS: Document the addition.
Reported by Joel E. Denny.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'bin')
-rw-r--r-- | bin/autom4te.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/autom4te.in b/bin/autom4te.in index 1f9aee8d..685df41a 100644 --- a/bin/autom4te.in +++ b/bin/autom4te.in @@ -575,6 +575,8 @@ sub handle_output ($$) s/__oline__/$./g; s/\@<:\@/[/g; s/\@:>\@/]/g; + s/\@\{:\@/(/g; + s/\@:\}\@/)/g; s/\@S\|\@/\$/g; s/\@%:\@/#/g; @@ -856,6 +858,8 @@ EOF # It makes no sense to try to transform __oline__. s/\@<:\@/[/g; s/\@:>\@/]/g; + s/\@\{:\@/(/g; + s/\@:\}\@/)/g; s/\@S\|\@/\$/g; s/\@%:\@/#/g; s/\@&t\@//g; |