bug-bison
[Top][All Lists]
Advanced

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

Fwd: Re: M4 version macro


From: Hans Aberg
Subject: Fwd: Re: M4 version macro
Date: Fri, 17 Jun 2005 20:59:42 +0200

I got the info below, which might be used to stamp parser files with the M4 version. I gather, if __m4_version__ macro is undefined, one defines it to syscmd(`m4 --version').

X-Original-To: address@hidden
Delivered-To: address@hidden
Date: Fri, 17 Jun 2005 10:10:43 +0100
From: "Gary V. Vaughan" <address@hidden>
Organization: FSF
User-Agent: Mozilla Thunderbird 1.0 (X11/20050305)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Hans Aberg <address@hidden>
Cc: address@hidden
Subject: Re: M4 version macro
X-Virus-Scanned: by amavisd-new at av-in.su.se
X-Spam-Status: No, hits=-2.987 tagged_above=-99 required=7 tests=AWL,
 BAYES_00, RCVD_BY_IP
X-Spam-Level:

Hallo Hans,

Hans Aberg wrote:
Does M4 have a macro, expanding to its version number (I suspect not)? This might be useful when using M4 to generate parser/lexer files in Bison/Flex, and stamp them with the M4 version used, so it becomes clearly visible in debug reports.

CVS M4 (soon to be m4-2.0) has __m4_version__.

Release versions of GNU m4 could use syscmd(`m4 --version') if PATH is
set reasonably...

Cheers,
        Gary.
--
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook






reply via email to

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