-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to R. Clayton on 1/12/2008 12:08 PM: | $ m4 --version | m4 (GNU M4) 1.4.10 | $ cat bad | define(`nargs', `$#') | nargs()
Not a bug. You were invoking nargs with one argument, the empty string. To invoke a macro without arguments, you must omit the (). The manual should make this clear: http://www.gnu.org/software/m4/manual/html_node/Pseudo-Arguments.html#Pseudo-Arguments - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----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 iD8DBQFHiVND84KuGfSFAYARAlE5AJ9QYNxqPTO3ySWNT5tk+hxcHlhWCwCg0kpw DZdh0xJi9jLo2rz7YkJtCfI= =fVXD -----END PGP SIGNATURE----- _______________________________________________ Bug-m4 mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-m4
