-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Matěj Týč on 3/24/2009 5:20 AM: > Regarding the manual: I have If you look at the page 158 (AS_TR_CPP > description), there is an unquoted hash (#) used in a configure.ac-like > file without any warning.
Thanks for catching that; it is indeed a bug in the manual. I'm installing this: - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknIy4oACgkQ84KuGfSFAYCb/ACgxcB9sV9HzDO421qPwwO2knhq KA0AoMDnS28G5vUKnJlDq3U0Eya7uZwD =45vC -----END PGP SIGNATURE-----
From 134ab7cd9dd69b4bf7cd53d3157a5095f5908015 Mon Sep 17 00:00:00 2001 From: Eric Blake <e...@byu.net> Date: Tue, 24 Mar 2009 05:58:52 -0600 Subject: [PATCH] Fix underquoted example in manual. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit * doc/autoconf.texi (Common Shell Constructs) <AS_TR_CPP>: Properly m4-quote #. Reported by MatÄj TýÄ. Signed-off-by: Eric Blake <e...@byu.net> --- ChangeLog | 7 +++++++ doc/autoconf.texi | 3 ++- 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3829924..56f844b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-03-24 Eric Blake <e...@byu.net> + + Fix underquoted example in manual. + * doc/autoconf.texi (Common Shell Constructs) <AS_TR_CPP>: + Properly m4-quote #. + Reported by MatÄj TýÄ. + 2009-03-18 Eric Blake <e...@byu.net> Manual: mention more expr pitfalls. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index a4cb0d1..5e490fe 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -12451,8 +12451,9 @@ Common Shell Constructs @example # This outputs "#define HAVE_CHAR_P 1". +# Notice the m4 quoting around #, to prevent an m4 comment type="char *" -echo "#define AS_TR_CPP([HAVE_$type]) 1" +echo "[#]define AS_TR_CPP([HAVE_$type]) 1" @end example @end defmac -- 1.6.1.2