[Top][All Lists]

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

Re: [PATCH] m4 example bug

From: Paul Eggert
Subject: Re: [PATCH] m4 example bug
Date: 06 Jan 2004 13:12:17 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Thanks for reporting that.  I installed the following somewhat
more-ambitious patch.

2004-01-06  Paul Eggert  <address@hidden>

        * doc/autoconf.texi (One Macro Call): Fix an incorrect
        example, and add more examples.  Reported by Eric Sunshine.

--- autoconf.texi.~1.789.~      Mon Jan  5 15:19:04 2004
+++ autoconf.texi       Tue Jan  6 13:08:47 2004
@@ -7504,8 +7504,8 @@ define([car], [$1])
 The two pairs of quotes above are not part of the arguments of
 @code{define}; rather, they are understood by the top level when it
-tries to find the arguments of @code{define}.  Therefore, it is
-equivalent to write:
+tries to find the arguments of @code{define}.  Therefore, assuming
address@hidden is not already defined, it is equivalent to write:
 define(car, $1)
@@ -7548,7 +7548,7 @@ car([#])
 @end example
-The reader will easily understand the following examples:
+Here are more examples:
 car(foo, bar)
@@ -7559,9 +7559,19 @@ car((foo, bar))
 @result{}(foo, bar)
 car([(foo], [bar)])
-car([], [])
+define([a], [b])car(a)
-car([[]], [[]])
 @end example

reply via email to

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