This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Fix warnings in extend.texi


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]