diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-16 05:55:45 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-16 05:55:45 +0000 |
commit | 149fdb9877cf69ebe61621ef7ac54f467d6dbb57 (patch) | |
tree | 1407c01a6db2cdb005196f2de0c1ac5e8805f76b /gcc | |
parent | 22046c26d5fe71ee7040e5857a9730fea6614458 (diff) | |
download | gcc-149fdb9877cf69ebe61621ef7ac54f467d6dbb57.tar.gz |
* parser.c, pt.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108625 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/parser.c | 4 | ||||
-rw-r--r-- | gcc/cp/pt.c | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e9cfad72a4b..55a7b0b8d82 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 25488c72540..3079faa6b94 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -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 diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index e2c987a44fb..9e610bf047c 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -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 |