]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Avoid texinfo bug with backslashes in macro arguments.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 15 Jun 2010 03:36:19 +0000 (05:36 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 15 Jun 2010 17:12:26 +0000 (19:12 +0200)
* doc/autoconf.texi (Text processing Macros)
(Common Shell Constructs): Do not use @dvar with backslashes.

ChangeLog
doc/autoconf.texi

index 4e75a7657df73d6dd888f61a9b450e4121419beb..c5c751fc384967346c9bb6a70815a6db64e9c863 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-06-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Avoid texinfo bug with backslashes in macro arguments.
+       * doc/autoconf.texi (Text processing Macros)
+       (Common Shell Constructs): Do not use @dvar with backslashes.
+
 2010-06-14  Eric Blake  <eblake@redhat.com>
 
        Make CONFIG_SITE handling more robust.
index 42469db6de8f37310b174558b227e4ff10f8d9e0..6d6555cd395deba257afc12b3db7fcb3e9387c42 100644 (file)
@@ -12488,7 +12488,8 @@ Backslash-escape all characters in @var{string} that are active in
 regexps.
 @end defmac
 
-@defmac m4_split (@var{string}, @dvar{regexp, [\t ]+})
+@c We cannot use @dvar because the macro expansion mistreats backslashes.
+@defmac m4_split (@var{string}, @r{[}@var{regexp} = @samp{[\t ]+}@r{]})
 @msindex{split}
 Split @var{string} into an M4 list of elements quoted by @samp{[} and
 @samp{]}, while keeping white space at the beginning and at the end.
@@ -13110,7 +13111,8 @@ for portability, should not include more than one newline.  The bytes of
 Redirections can be placed outside the macro invocation.
 @end defmac
 
-@defmac AS_ESCAPE (@var{string}, @dvar{chars, `\"$})
+@c We cannot use @dvar because the macro expansion mistreats backslashes.
+@defmac AS_ESCAPE (@var{string}, @r{[}@var{chars} = @samp{`\"$}@r{]})
 @asindex{ESCAPE}
 Expands to @var{string}, with any characters in @var{chars} escaped with
 a backslash (@samp{\}).  @var{chars} should be at most four bytes long,