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] cp/*: Fix comment typos.


Hi,

Committed as obvious.

Kazu Hirata

2007-03-17  Kazu Hirata  <kazu@codesourcery.com>

	* cp-tree.def, parser.c, pt.c: Fix comment typos.

Index: cp/cp-tree.def
===================================================================
--- cp/cp-tree.def	(revision 123022)
+++ cp/cp-tree.def	(working copy)
@@ -367,7 +367,7 @@ DEFTREECODE (STATIC_ASSERT, "static_asse
 
    Values is a (template) parameter pack. When tuple<int, float,
    double> is instantiated, the Values parameter pack is instantiated
-   with the argment pack <int, float, double>. ARGUMENT_PACK_ARGS will
+   with the argument pack <int, float, double>. ARGUMENT_PACK_ARGS will
    be a TREE_VEC containing int, float, and double.  */
 DEFTREECODE (TYPE_ARGUMENT_PACK, "type_argument_pack", tcc_type, 0)
 
Index: cp/parser.c
===================================================================
--- cp/parser.c	(revision 123022)
+++ cp/parser.c	(working copy)
@@ -4343,8 +4343,8 @@ cp_parser_postfix_expression (cp_parser 
 		   allowed in standard C++.  */
 		if (pedantic)
 		  pedwarn ("ISO C++ forbids compound-literals");
-		/* For simplicitly, we disallow compound literals in
-		   constant-expressions for simpliicitly.  We could
+		/* For simplicity, we disallow compound literals in
+		   constant-expressions.  We could
 		   allow compound literals of integer type, whose
 		   initializer was a constant, in constant
 		   expressions.  Permitting that usage, as a further
Index: cp/pt.c
===================================================================
--- cp/pt.c	(revision 123022)
+++ cp/pt.c	(working copy)
@@ -7677,7 +7677,7 @@ tsubst_decl (tree t, tree args, tsubst_f
             /* If there is a local specialization that isn't a
                parameter pack, it means that we're doing a "simple"
                substitution from inside tsubst_pack_expansion. Just
-               return the local specialiation (which will be a single
+               return the local specialization (which will be a single
                parm).  */
             tree spec = NULL_TREE;
             if (local_specializations)


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