Add missing parenthesis in manywarnings example
authorJames Youngman <jay@gnu.org>
Thu, 8 Apr 2010 02:02:12 +0000 (03:02 +0100)
committerIan Beckwith <ianb@erislabs.net>
Mon, 19 Apr 2010 14:29:54 +0000 (15:29 +0100)
(cherry picked from commit 85f6993aa94a87689fb1c4d49e5be4f271cb97d1)

ChangeLog
doc/manywarnings.texi

index 6c5122d..4ed2fb0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-08  James Youngman  <jay@gnu.org>
+
+       * doc/manywarnings.texi (manywarnings): Add missing parenthesis in
+       the example.
+
 2010-04-09  Jim Meyering  <meyering@redhat.com>
 
        init.sh: run tr in the "C" locale to avoid multibyte interpretation
index d3edf1f..cb2cf29 100644 (file)
@@ -18,7 +18,7 @@ nw="$nw -Wtraditional"          # All compilers nowadays support ANSI C
 nw="$nw -Wconversion"           # These warnings usually don't point to mistakes.
 nw="$nw -Wsign-conversion"      # Likewise.
 # Enable all GCC warnings not in this list.
-gl_MANYWARN_COMPLEMENT[warnings], [$warnings], [$nw])
+gl_MANYWARN_COMPLEMENT([warnings], [$warnings], [$nw])
 for w in $warnings; do
   gl_WARN_ADD([$w])
 done