m4-discuss
[Top][All Lists]
Advanced

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

Re: Filter user macro invocation


From: Eric Blake
Subject: Re: Filter user macro invocation
Date: Mon, 28 Apr 2008 19:02:39 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

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

According to address@hidden on 4/28/2008 2:30 PM:
| I was wondering if it would be possible to prevent the invocation of a
| user defined macros by using the same criteria as the built-in macros.

Not only is it possible, but it is documented in the manual:

http://www.gnu.org/software/m4/manual/m4.html#Ifelse

Look for the example of defining `foo', in the third example.

- --
Don't work too hard, make some time for fun as well!

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

iEYEARECAAYFAkgWc64ACgkQ84KuGfSFAYCQ3ACdE9QyhGqs77ptPelGY68HUQfp
gGMAn1QUgd8UevvQGeLba7W1Rhg3Xq2d
=mf7N
-----END PGP SIGNATURE-----




reply via email to

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