]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* parser.c, pt.c: Fix comment typos.
authorKazu Hirata <kazu@codesourcery.com>
Fri, 16 Dec 2005 05:55:45 +0000 (05:55 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 16 Dec 2005 05:55:45 +0000 (05:55 +0000)
From-SVN: r108625

gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/pt.c

index e9cfad72a4bf392c1c2a0b82a485f2beb49e1fe2..55a7b0b8d82c723ecc27bc868810ff5d017bcee4 100644 (file)
@@ -1,3 +1,7 @@
+2005-12-16  Kazu Hirata  <kazu@codesourcery.com>
+
+       * parser.c, pt.c: Fix comment typos.
+
 2005-12-13  Petr Machata  <machata@post.cz>
 
        PR c++/24907
index 25488c725408277547e800504d8d20b711b5e910..3079faa6b9429234f5998d4d4f69911703f8a70a 100644 (file)
@@ -2735,7 +2735,7 @@ cp_parser_translation_unit (cp_parser* parser)
    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* 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 e2c987a44fb4bc77eb6510f48c9df78d3098c986..9e610bf047c1ef9fe0bab33e51527b44f43c5569 100644 (file)
@@ -1194,7 +1194,7 @@ register_specialization (tree spec, tree tmpl, tree args, bool is_friend)
 
                   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