[patch] cp/ptr.c: Fix comment typos.

Kazu Hirata kazu@cs.umass.edu
Sun Apr 3 14:25:00 GMT 2005


Hi,

Committed as obvious.

Kazu Hirata

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

	* pt.c: Fix comment typos.

Index: cp/pt.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/pt.c,v
retrieving revision 1.989
diff -u -d -p -r1.989 pt.c
--- cp/pt.c	3 Apr 2005 12:32:45 -0000	1.989
+++ cp/pt.c	3 Apr 2005 14:19:16 -0000
@@ -10378,7 +10378,7 @@ mark_decl_instantiated (tree result, int
 
    The 1998 std underspecified function template partial ordering, and
    DR214 addresses the issue.  We take pairs of arguments, one from
-   each of the templates, and deduce them against eachother.  One of
+   each of the templates, and deduce them against each other.  One of
    the templates will be more specialized if all the *other*
    template's arguments deduce against its arguments and at least one
    of its arguments *does* *not* deduce against the other template's
@@ -12399,7 +12399,7 @@ dependent_template_id_p (tree tmpl, tree
    can be found.  Note that this function peers inside uninstantiated
    templates and therefore should be used only in extremely limited
    situations.  ONLY_CURRENT_P restricts this peering to the currently
-   open classes heirarchy (which is required when comparing types).  */
+   open classes hierarchy (which is required when comparing types).  */
 
 tree
 resolve_typename_type (tree type, bool only_current_p)



More information about the Gcc-patches mailing list