On 12/09/2009 07:41 AM, Ralf Wildenhues wrote:
Hi Eric,
your recent diversion-name patch caused a new testsuite failure for me:
# -*- compilation -*-
69. m4sugar.at:1821: testing ...
../../autoconf/tests/m4sugar.at:1859: autom4te --language=m4sugar script.4s -o
script -o-
../../autoconf/tests/m4sugar.at:1916: autom4te --language=m4sugar script.4s -o
script -o-
--- /dev/null 2008-04-28 20:08:22.000000000 +0200
+++ /tmp/autoconf/build/tests/testsuite.dir/at-groups/69/stderr 2009-12-07
09:53:15.000000000 +0100
@@ -0,0 +1 @@
+script.4s:1: warning: prefer named diversions
69. m4sugar.at:1821: 69. recursion (m4sugar.at:1821): FAILED (m4sugar.at:1916)
Cheers,
Ralf
Fixed thusly:
diff --git a/tests/m4sugar.at b/tests/m4sugar.at
index a96583c..4d937cf 100644
--- a/tests/m4sugar.at
+++ b/tests/m4sugar.at
@@ -1874,7 +1874,7 @@ A
AT_DATA_M4SUGAR([script.4s],
[[m4_ifdef([__m4_version__],
[m4_undefine([__m4_version__])],
-[m4_divert_push(0)48894
+[m4_divert_push([])48894
9999,10000
78896
58894
Paolo