autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

m4_for bug?


From: Eric Blake
Subject: m4_for bug?
Date: Tue, 31 Oct 2006 07:11:32 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Based on the documentation, I expected
m4_for([i], [1], [5000], [[a]])
to be identical to
m4_for([i], [1], [5000], [], [[a]])
with both forms printing 5000 a's.  However, m4_for currently does not
take $# into consideration, and the former form resulted in an error due
to trying to treat [[a]] as the step size with an empty expression, rather
than realizing that the step size was omitted.  Is it worth my time
providing a patch for this?

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFR1mU84KuGfSFAYARAv1NAKCJEb8IQornn4CE/CKhqj3E/BS6AgCgxYX3
ht7wFAQJ18N1+QPJJIDEJQU=
=NjBK
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]