]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix an incorrect quoting example; reported by Eric Sunshine.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Jan 2004 21:11:30 +0000 (21:11 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Jan 2004 21:11:30 +0000 (21:11 +0000)
ChangeLog
doc/autoconf.texi

index 7a12c0fd6f11dc5ee245678642374ff5ac5b2be4..cd1c558ec36938b06cbcf633a0274b27f85584b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-06  Paul Eggert  <eggert@twinsun.com>
+
+       * doc/autoconf.texi (One Macro Call): Fix an incorrect
+       example, and add more examples.  Reported by Eric Sunshine.
+
 2004-01-05  Paul Eggert  <eggert@twinsun.com>
 
        * doc/autoconf.texi (Limitations of Usual Tools):
index a7c0f0693e467900fa7b14c05d2dc5fb1dda2478..aa38442f512b3373458bcc830791b5c53f4fb305 100644 (file)
@@ -7504,8 +7504,8 @@ define([car], [$1])
 @noindent
 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
+@code{car} is not already defined, it is equivalent to write:
 
 @example
 define(car, $1)
@@ -7548,7 +7548,7 @@ car([#])
 @result{}#
 @end example
 
-The reader will easily understand the following examples:
+Here are more examples:
 
 @example
 car(foo, bar)
@@ -7559,9 +7559,19 @@ car((foo, bar))
 @result{}(foo, bar)
 car([(foo], [bar)])
 @result{}(foo
-car([], [])
+define([a], [b])car(a)
+@result{}b
+car([a])
+@result{}b
+car([[a]])
+@result{}a
+car([[[a]]])
+@result{}[a]
+car([])
 @result{}
-car([[]], [[]])
+car([[]])
+@result{}
+car([[[]]])
 @result{}[]
 @end example