autoconf-patches
[Top][All Lists]
Advanced

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

Re: faster m4_divert*,m4_cond


From: Ralf Wildenhues
Subject: Re: faster m4_divert*,m4_cond
Date: Tue, 12 Aug 2008 06:06:06 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

* Eric Blake wrote on Tue, Aug 12, 2008 at 05:56:31AM CEST:
> Yes, I should add a test case along the lines of the following:

Yes, please, that prevents someone (else) later breaking this
inadvertently.

> In autoconf 2.62, this gives a spurious warning and wrong result:
> m4_cond([a,a], [a,b], [yes], [no])
> m4:stdin:3: Warning: m4_if: extra arguments ignored: 5 > 4
> a,b
>
> the fixed version gives the desired result:
> m4_cond([a,b], [a,b], [yes], [no])
> yes

Thanks,
Ralf




reply via email to

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