This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] cp/*.c: Fix comment typos.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 15 Dec 2005 21:56:04 -0800
- Subject: [patch] cp/*.c: Fix comment typos.
Hi,
Committed as obvious.
Kazu Hirata
2005-12-16 Kazu Hirata <kazu@codesourcery.com>
* parser.c, pt.c: Fix comment typos.
Index: cp/parser.c
===================================================================
--- cp/parser.c (revision 108623)
+++ cp/parser.c (working copy)
@@ -2735,7 +2735,7 @@ cp_parser_translation_unit (cp_parser* p
ADDRESS_P is true iff this expression was immediately preceded by
"&" and therefore might denote a pointer-to-member. CAST_P is true
iff this expression is the target of a cast. TEMPLATE_ARG_P is
- true iff this expression is a tempalte argument.
+ true iff this expression is a template argument.
Returns a representation of the expression. Upon return, *IDK
indicates what kind of id-expression (if any) was present. */
@@ -14521,7 +14521,7 @@ cp_parser_label_declaration (cp_parser*
types.
If AMBIGUOUS_DECLS is non-NULL, *AMBIGUOUS_DECLS is set to a
- TREE_LIST of candiates if name-lookup results in an ambiguity, and
+ TREE_LIST of candidates if name-lookup results in an ambiguity, and
NULL_TREE otherwise. */
static tree
Index: cp/pt.c
===================================================================
--- cp/pt.c (revision 108623)
+++ cp/pt.c (working copy)
@@ -1194,7 +1194,7 @@ register_specialization (tree spec, tree
An explicit specialization of a function template
is inline only if it is explicitly declared to be,
- and independently of whether its function tempalte
+ and independently of whether its function template
is.
to the primary function; now copy the inline bits to