diff mbox

[committed] Fix warnings in extend.texi

Message ID 20150522092622.GS27320@redhat.com
State New
Headers show

Commit Message

Marek Polacek May 22, 2015, 9:26 a.m. UTC
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.


	Marek
diff mbox

Patch

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