Eric Blake | 1 Aug 17:31 2011
Picon

Re: Link towards the latest release

On 07/30/2011 08:35 AM, Julien √ČLIE wrote:
> Hi,
> 
> m4-latest-* files present in <http://ftp.gnu.org/gnu/m4/> do not refer
> to the latest 1.4.16 version but to 1.4.15.
> Would it be possible to update the links?

Thanks for the report; I'll take a look into getting that done this week.

--

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

James Kirk | 2 Aug 19:08 2011
Picon

Odd parsing of identifier in define

Hi guys,

define( `def' )
ifdef( `def', defined, not defined )
->
not defined

On examining the debug output, it seems that the identifier is saved as `def ' instead of `def'. What
confuses m4 is the trailing space. The problem disappears if the trailing space is removed i.e. 

define( `def')

Is this a bug or a feature?

1.4.14 on Windows
1.4.16 on Linux.

regards

Eric Blake | 2 Aug 19:14 2011
Picon

Re: Odd parsing of identifier in define

On 08/02/2011 11:08 AM, James Kirk wrote:
> Hi guys,
>
> define( `def' )
> ifdef( `def', defined, not defined )
> ->
> not defined
>
> On examining the debug output, it seems that the identifier is saved as `def ' instead of `def'.

Yep.

> Is this a bug or a feature?

Feature.  Trailing whitespace is always significant.  _Only_ unquoted 
leading whitespace gets trimmed when collecting macro arguments.

--

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


Gmane