m4-discuss
[Top][All Lists]
Advanced

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

Re: expansion


From: Eric Blake
Subject: Re: expansion
Date: Mon, 30 Nov 2009 22:12:44 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

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

iEYEARECAAYFAksUpcwACgkQ84KuGfSFAYCcQwCg0EC1cEACl4HUYlu0ai85drqy
DeAAn3llQ6ejqk693qKwU0CSAU2wjJnc
=W3k2
-----END PGP SIGNATURE-----




reply via email to

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