[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: outdated m4sugar
From: |
Akim Demaille |
Subject: |
Re: outdated m4sugar |
Date: |
Thu, 24 Jul 2008 17:32:14 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) |
>>> "EB" == Eric Blake <address@hidden> writes:
> According to Akim Demaille on 7/11/2008 2:38 AM:
>>
>>> the
>>> change from LIFO to FIFO m4wrap (done in order to make m4 obey POSIX)
>>
>> I have not understood why they made that choice :(
> "they" being me (as m4 maintainer) or the Austin group (as the POSIX folks
> who documented m4wrap as FIFO)? At any rate, both the Solaris and BSD m4
> implementations (and I'm assuming the older SysV, on which Solaris was
> based), did FIFO; GNU m4 1.4.x was the odd man out for doing LIFO.
I meant Austin. LIFO seems more natural.
> Fortunately, along with making the change, I also documented how to
> restore the 1.4.x LIFO behavior by defining the appropriate wrapper around
> m4wrap (and m4sugar, as of autoconf 2.62, uses that wrapper), such that it
> is possible to get portable and known wrap semantics (of either variety)
> regardless of whether the underlying m4 is FIFO or LIFO.
This is nice.