This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix warnings in extend.texi
- From: Marek Polacek <polacek at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 22 May 2015 11:26:23 +0200
- Subject: [committed] Fix warnings in extend.texi
- Authentication-results: sourceware.org; auth=none
This is to fix two "warning: `.' or `,' must follow @xref, not )"
occurences.
Applying to trunk.
2015-05-22 Marek Polacek <polacek@redhat.com>
* doc/extend.texi: Use @pxref instead of @xref.
diff --git gcc/doc/extend.texi gcc/doc/extend.texi
index 5539199..6c51bc4 100644
--- gcc/doc/extend.texi
+++ gcc/doc/extend.texi
@@ -6304,7 +6304,7 @@ compilers to match the native Microsoft compiler.
GCC allows attributes to be set on C labels. @xref{Attribute Syntax}, for
details of the exact syntax for using attributes. Other attributes are
available for functions (@pxref{Function Attributes}), variables
-(@pxref{Variable Attributes}), enumerators (@xref{Enumerator Attributes}),
+(@pxref{Variable Attributes}), enumerators (@pxref{Enumerator Attributes}),
and for types (@pxref{Type Attributes}).
This example uses the @code{cold} label attribute to indicate the
@@ -6358,7 +6358,7 @@ with computed goto or @code{asm goto}.
GCC allows attributes to be set on enumerators. @xref{Attribute Syntax}, for
details of the exact syntax for using attributes. Other attributes are
available for functions (@pxref{Function Attributes}), variables
-(@pxref{Variable Attributes}), labels (@xref{Label Attributes}),
+(@pxref{Variable Attributes}), labels (@pxref{Label Attributes}),
and for types (@pxref{Type Attributes}).
This example uses the @code{deprecated} enumerator attribute to indicate the
Marek