Eric Blake <ebb9 <at> byu.net> writes:
> My work on $@ references turned up another failure that tripped autoconf,
> but not the testsuite.
And again. Committing this to branch and head:
From: Eric Blake <[EMAIL PROTECTED]>
Date: Wed, 7 Nov 2007 07:40:21 -0700
Subject: [PATCH] More corner-case testing.
* doc/m4.texinfo (Pseudo Arguments): Test more corner cases.
Signed-off-by: Eric Blake <[EMAIL PROTECTED]>
---
ChangeLog | 4 ++++
doc/m4.texinfo | 9 +++++++++
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index bfd5de9..86d8ad4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-07 Eric Blake <[EMAIL PROTECTED]>
+
+ * doc/m4.texinfo (Pseudo Arguments): Test more corner cases.
+
2007-11-05 Eric Blake <[EMAIL PROTECTED]>
Use assert, rather than INTERNAL ERROR.
diff --git a/doc/m4.texinfo b/doc/m4.texinfo
index 9a1816b..f028e3d 100644
--- a/doc/m4.texinfo
+++ b/doc/m4.texinfo
@@ -1943,10 +1943,19 @@ foo)
@example
define(`echo', `$@@')dnl
+echo(echo(`01234567890123456789', `01234567890123456789')
+echo(`98765432109876543210', `98765432109876543210'))
[EMAIL PROTECTED],01234567890123456789
[EMAIL PROTECTED],98765432109876543210
len((echo(`01234567890123456789',
`01234567890123456789')echo(`98765432109876543210',
`98765432109876543210')))
@result{}84
+indir(`echo', indir(`echo', `01234567890123456789',
+ `01234567890123456789')
+indir(`echo', `98765432109876543210', `98765432109876543210'))
[EMAIL PROTECTED],01234567890123456789
[EMAIL PROTECTED],98765432109876543210
define(`argn', `$#')dnl
define(`echo1', `-$@@-')define(`echo2', `,$@@,')dnl
echo1(`1', `2', `3') argn(echo1(`1', `2', `3'))
--
1.5.3.2
_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches