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]

[patch] treelang/*: Fix comment/doc typos.


Hi,

Committed as obvious.

Kazu Hirata

2005-04-01  Kazu Hirata  <kazu@cs.umass.edu>

	* treelang/treelang.texi: Fix typos.
	* treelang/treetree.c: Fix comment typos.

Index: treelang/treelang.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/treelang/treelang.texi,v
retrieving revision 1.17
diff -u -d -p -r1.17 treelang.texi
--- treelang/treelang.texi	27 Feb 2005 13:55:32 -0000	1.17
+++ treelang/treelang.texi	1 Apr 2005 14:10:30 -0000
@@ -294,7 +294,7 @@ and @samp{GNU Compiler Collection (GCC) 
 
 To install treelang, follow the GCC installation instructions, 
 taking care to ensure you specify treelang in the configure step by adding
-treelang to the list of languages specified by @option{--enable-langauges}, 
+treelang to the list of languages specified by @option{--enable-languages}, 
 e.g.@: @samp{--enable-languages=all,treelang}.
 
 If you're generally curious about the future of
@@ -619,7 +619,7 @@ OR variable = expression OR function_cal
 An expression can be a constant or a variable reference or a
 function_call.  Expressions can be combined as a sum of two expressions
 or the difference of two expressions, or an equality test of two
-expresions.  An assignment is also an expression.  Expresions and operator
+expressions.  An assignment is also an expression.  Expressions and operator
 precedence work as in C.
 
 @item
@@ -947,7 +947,7 @@ The files are:
 
 @item
 COPYING.  This is the copyright file, assuming you are going to use the
-GNU General Public Licence.  You probably need to use the GPL because if
+GNU General Public License.  You probably need to use the GPL because if
 you use the GCC back end your program and the back end are one program,
 and the back end is GPLed.
 
@@ -957,7 +957,7 @@ GCC tree, as the main GCC directory has 
 @item
 COPYING.LIB.  This is the copyright file for those parts of your program
 that are not to be covered by the GPL, but are instead to be covered by
-the LGPL (Library or Lesser GPL).  This licence may be appropriate for
+the LGPL (Library or Lesser GPL).  This license may be appropriate for
 the library routines associated with your compiler. These are the
 routines that are linked with the @emph{output} of the compiler.  Using
 the LGPL for these programs allows programs written using your compiler
@@ -1006,7 +1006,7 @@ directory. 
 @item
 config-lang.in.  This file is read by the configuration progress and must
 be present. You specify the name of your language, the name(s) of the
-compiler(s) incouding preprocessors you are going to build, whether any,
+compiler(s) including preprocessors you are going to build, whether any,
 usually generated, files should be excluded from diffs (ie when making
 diff files to send in patches).  Whether the equate 'stagestuff' is used
 is unknown (???).
@@ -1167,7 +1167,7 @@ to mark it. 
 Note that you can also call ggc_mark_tree to mark any of the back end
 internal 'tree' nodes. This routine will follow the branches of the
 trees and mark all the subordinate structures. This is useful for
-example when you have created a variable declaaration that will be used
+example when you have created a variable declaration that will be used
 across multiple functions, or for a function declaration (from a
 prototype) that may be used later on. See the next item for more on the
 tree nodes. 
Index: treelang/treetree.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/treelang/treetree.c,v
retrieving revision 1.60
diff -u -d -p -r1.60 treetree.c
--- treelang/treetree.c	23 Mar 2005 19:47:09 -0000	1.60
+++ treelang/treetree.c	1 Apr 2005 14:10:30 -0000
@@ -642,7 +642,7 @@ tree_code_get_integer_value (unsigned ch
 			     val & 0xffffffff, (val >> 32) & 0xffffffff);
 }
 
-/* Return the tree for an expresssion, type EXP_TYPE (see treetree.h)
+/* Return the tree for an expression, type EXP_TYPE (see treetree.h)
    with tree type TYPE and with operands1 OP1, OP2 (maybe), OP3 (maybe).  */
 tree
 tree_code_get_expression (unsigned int exp_type,
@@ -1004,7 +1004,7 @@ pushlevel (int ignore ATTRIBUTE_UNUSED)
 static tree
 poplevel (int keep, int reverse, int functionbody)
 {
-  /* Points to a BLOCK tree node. This is the BLOCK node construted for the
+  /* Points to a BLOCK tree node. This is the BLOCK node constructed for the
      binding level that we are about to exit and which is returned by this
      routine.  */
   tree block_node = NULL_TREE;
@@ -1014,7 +1014,7 @@ poplevel (int keep, int reverse, int fun
 
   /* Reverse the list of *_DECL nodes if desired.  Note that the ..._DECL
      nodes chained through the `names' field of current_binding_level are in
-     reverse order except for PARM_DECL node, which are explicitely stored in
+     reverse order except for PARM_DECL node, which are explicitly stored in
      the right order.  */
   decl_chain = (reverse) ? nreverse (current_binding_level->names)
 			 : current_binding_level->names;
@@ -1103,7 +1103,7 @@ pushdecl (tree decl)
   TREE_CHAIN (decl) = current_binding_level->names;
   current_binding_level->names = decl;
 
-  /* For the declartion of a type, set its name if it is not already set. */
+  /* For the declaration of a type, set its name if it is not already set. */
 
   if (TREE_CODE (decl) == TYPE_DECL
       && TYPE_NAME (TREE_TYPE (decl)) == 0)


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