Re: Filter user macro invocation

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to [email protected] 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             [email protected]
-----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-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.