Re: more testsuite coverage for autoconf idioms
Eric Blake <[email protected]>
| Newsgroups | gmane.comp.gnu.m4.patches |
|---|---|
| Message-ID | <[email protected]> |
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')) +@result{}01234567890123456789,01234567890123456789 +@result{}98765432109876543210,98765432109876543210 len((echo(`01234567890123456789', `01234567890123456789')echo(`98765432109876543210', `98765432109876543210'))) @result{}84 +indir(`echo', indir(`echo', `01234567890123456789', + `01234567890123456789') +indir(`echo', `98765432109876543210', `98765432109876543210')) +@result{}01234567890123456789,01234567890123456789 +@result{}98765432109876543210,98765432109876543210 define(`argn', `$#')dnl define(`echo1', `-$@@-')define(`echo2', `,$@@,')dnl echo1(`1', `2', `3') argn(echo1(`1', `2', `3')) -- 1.5.3.2