Re: expansion

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

According to Jack Woehr on 11/30/2009 9:49 PM:
> Josef Vukovic wrote:
>>
>> define(`foo',`foo is not bar') this cause a infinite loop.
> OH!!!
> 
> Yes, that's a very important use case that we all encounter. Correct is:
> 
> define(`foo',``foo' is not `bar'')

The manual also has examples of this[1]; have you read it yet?  Places
where the manual could be improved because a concept wasn't clear to you
should also be reported as a bug, so that we can try and improve the
documentation for the next person to read about issues like this.

[1] http://www.gnu.org/software/m4/manual/m4.html#Ifdef

- --
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/

iEYEARECAAYFAksUpcwACgkQ84KuGfSFAYCcQwCg0EC1cEACl4HUYlu0ai85drqy
DeAAn3llQ6ejqk693qKwU0CSAU2wjJnc
=W3k2
-----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.