[committed] Fix warnings in extend.texi
Marek Polacek
polacek@redhat.com
Fri May 22 09:56:00 GMT 2015
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
More information about the Gcc-patches
mailing list