[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Autoconf source repository branch, master, updated. v2.63-243-
From: |
Eric Blake |
Subject: |
[SCM] GNU Autoconf source repository branch, master, updated. v2.63-243-g44579b8 |
Date: |
Fri, 19 Dec 2008 00:23:02 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".
http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=44579b83165eae1c2300e559eae5b697c685c2f7
The branch, master has been updated
via 44579b83165eae1c2300e559eae5b697c685c2f7 (commit)
from 59f80f3aeae4a77753deb5944d5c77a9cf83c629 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 44579b83165eae1c2300e559eae5b697c685c2f7
Author: Eric Blake <address@hidden>
Date: Thu Dec 18 17:15:13 2008 -0700
Fix separator in m4_stack_foreach_sep.
* lib/m4sugar/m4sugar.m4 (_m4_stack_reverse): Separate separator
from prefix.
* tests/m4sugar.at (m4@&address@hidden): Enhance test.
Signed-off-by: Eric Blake <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
lib/m4sugar/m4sugar.m4 | 2 +-
tests/m4sugar.at | 3 ++-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c1d367a..369433c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2008-12-18 Eric Blake <address@hidden>
+ Fix separator in m4_stack_foreach_sep.
+ * lib/m4sugar/m4sugar.m4 (_m4_stack_reverse): Separate separator
+ from prefix.
+ * tests/m4sugar.at (m4@&address@hidden): Enhance test.
+
+2008-12-18 Eric Blake <address@hidden>
+
Mention limitation of M4 1.4.x on builtin tokens.
* doc/autoconf.texi (Redefined M4 Macros) <m4_dumpdef>: Document
ramification of M4 1.4.x's inability to pass builtin tokens
diff --git a/lib/m4sugar/m4sugar.m4 b/lib/m4sugar/m4sugar.m4
index fe6af4f..6ca825f 100644
--- a/lib/m4sugar/m4sugar.m4
+++ b/lib/m4sugar/m4sugar.m4
@@ -1293,7 +1293,7 @@ m4_define([m4_stack_foreach_sep_lifo],
# swapped copy.
m4_define([_m4_stack_reverse],
[m4_ifdef([$1], [m4_pushdef([$2],
- _m4_defn([$1]))$3[]_m4_popdef([$1])$0([$1], [$2], [$4$3])])])
+ _m4_defn([$1]))$3[]_m4_popdef([$1])$0([$1], [$2], [$4[]$3])])])
diff --git a/tests/m4sugar.at b/tests/m4sugar.at
index 8a538f0..a876588 100644
--- a/tests/m4sugar.at
+++ b/tests/m4sugar.at
@@ -60,7 +60,8 @@ m4_copy([abc], [foo])dnl
m4_stack_foreach([foo], [m4_n])
m4_stack_foreach_lifo([foo], [m4_n])
m4_stack_foreach_sep([abc], [ m4_index([abcdefghijkl],], [)])
-m4_stack_foreach_sep_lifo([abc], [<], [>], [:])
+m4_define([colon], [:])dnl
+m4_stack_foreach_sep_lifo([abc], [<], [>], [colon])
m4_pushdef([xyz], [123])dnl
m4_pushdef([xyz], [456])dnl
m4_define([doit], [[$1](m4_stack_foreach_sep([xyz], [m4_dquote(], [)], [,]))
hooks/post-receive
--
GNU Autoconf source repository
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Autoconf source repository branch, master, updated. v2.63-243-g44579b8,
Eric Blake <=