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]

Fix documentation typos.


IIUC then the 4.5 freeze is only for non-documentation.  I'm applying
this patch as obvious on 4.5 and trunk, after usual testing.

Thanks,
Ralf

Fix documentation typos.

gcc/ChangeLog:
2010-04-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* doc/generic.texi (Working with declarations)
	(Function Properties, C and C++ Trees): Fix typos.
	* doc/sourcebuild.texi (Top Level): Likewise.

diff --git a/gcc/doc/generic.texi b/gcc/doc/generic.texi
index 08eed65..4d7a5d8 100644
--- a/gcc/doc/generic.texi
+++ b/gcc/doc/generic.texi
@@ -744,7 +744,7 @@ specified for it, while DECL_TYPE may be a modified type with lesser precision,
 according to the size of the bit field.
 
 @item NAMESPACE_DECL
-Namespaces provide a name hierarchy for other delarations.  They
+Namespaces provide a name hierarchy for other declarations.  They
 appear in the @code{DECL_CONTEXT} of other @code{_DECL} nodes.
 
 @end table
@@ -2379,7 +2379,7 @@ This predicate holds if the function does not return normally.
 This predicate holds if the function can only read its arguments.
 
 @item DECL_PURE_P
-This predicate holds if the function can only read its arguemnts, but
+This predicate holds if the function can only read its arguments, but
 may also read global memory.
 
 @item DECL_VIRTUAL_P
@@ -2467,7 +2467,7 @@ The C and C++ front ends generate a mix of GENERIC trees and ones
 specific to C and C++.  These language-specific trees are higher-level
 constructs than the ones in GENERIC to make the parser's job easier.
 This section describes those trees that aren't part of GENERIC as well
-as aspects of GENERIC trees that are treated in a lanugage-specific
+as aspects of GENERIC trees that are treated in a language-specific
 manner.
 
 If you are developing a ``back end'', be it is a code-generator or some
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index a3455db..14397b7 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -33,7 +33,7 @@ The Boehm conservative garbage collector, used as part of the Java
 runtime library.
 
 @item config
-Autoconf macros and Makefile fragments used throught the tree.
+Autoconf macros and Makefile fragments used throughout the tree.
 
 @item contrib
 Contributed scripts that may be found useful in conjunction with GCC@.


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