[Top][All Lists]

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

Re: Bug fix for rewriting of traces without arguments.

From: akim
Subject: Re: Bug fix for rewriting of traces without arguments.
Date: Fri, 3 Aug 2001 18:16:35 +0200
User-agent: Mutt/1.3.18i

On Fri, Aug 03, 2001 at 05:32:00PM +0200, Alexandre Duret-Lutz wrote:
> >>> "Akim" == Akim Demaille <address@hidden> writes:
>  Akim> PS/ Was this bug triggered by something `usual', or you used it by
>  Akim> hand or by dedicated code?
> Nothing unusual, you just need macros without arguments.  
> And since lot's of people use AC_C_CONST, you can reproduce
> it almost everywhere.  For instance unpack fileutils-4.1 and
> run
>   autoscan; autoconf

Wow, how come I never met this problem? :(  I do run autoscan on the file
utils though.  A big thanks to you.

May I ask you to apply this too:

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * tests/ (autoconf --trace: user macros): Check traces on
        macros invoked without arguments, and macros invoked with multiple
        lines arguments.

Index: tests/
--- tests/ Thu, 02 Aug 2001 19:50:48 +0200 akim
+++ tests/ Fri, 03 Aug 2001 17:11:53 +0200 akim
@@ -119,26 +119,43 @@
 [[m4_define([active], [ACTIVE])
 m4_define([TRACE1], [TRACE2(m4_shift($@))])
 m4_define([TRACE2], [[$2], $1])
+# No arguments.
+# With arguments, single line.
 TRACE1(foo, bar, baz)
 TRACE1(foo, TRACE1(bar, baz))
 TRACE1(foo, active, baz)
 TRACE1(foo, [active], TRACE1(active, [active]))
+# With arguments, multiple lines.

 # Several --traces.
+[[ bar:bar foo foo

 # Several line requests.

reply via email to

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