diff options
author | Volker Reichelt <reichelt@igpm.rwth-aachen.de> | 2005-07-21 10:33:31 +0000 |
---|---|---|
committer | Volker Reichelt <reichelt@gcc.gnu.org> | 2005-07-21 10:33:31 +0000 |
commit | c72a1a86739dc493dceec289da603b8517b46b12 (patch) | |
tree | eb1b0313b529bab237a12c44df5bd26fcf6405b3 /gcc | |
parent | 423c1d1c5480f39614f6e39fd938e2ddeab7a5ba (diff) | |
download | gcc-c72a1a86739dc493dceec289da603b8517b46b12.zip gcc-c72a1a86739dc493dceec289da603b8517b46b12.tar.gz gcc-c72a1a86739dc493dceec289da603b8517b46b12.tar.bz2 |
call.c: Fix comment typo(s).
* call.c: Fix comment typo(s).
* cxx-pretty-print.h: Likewise.
* name-lookup.c: Likewise.
* parser.c: Likewise.
From-SVN: r102231
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/cp/call.c | 2 | ||||
-rw-r--r-- | gcc/cp/cxx-pretty-print.h | 2 | ||||
-rw-r--r-- | gcc/cp/name-lookup.c | 4 | ||||
-rw-r--r-- | gcc/cp/parser.c | 6 |
5 files changed, 14 insertions, 7 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2ef53f2..efac769 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,10 @@ +2005-07-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de> + + * call.c: Fix comment typo(s). + * cxx-pretty-print.h: Likewise. + * name-lookup.c: Likewise. + * parser.c: Likewise. + 2005-07-20 Douglas Gregor <doug.gregor@gmail.com> PR c++/2922 diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 6e88708..4e5ccff 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -72,7 +72,7 @@ typedef enum conversion_rank { /* An implicit conversion sequence, in the sense of [over.best.ics]. The first conversion to be performed is at the end of the chain. - That conversion is always an cr_identity conversion. */ + That conversion is always a cr_identity conversion. */ typedef struct conversion conversion; struct conversion { diff --git a/gcc/cp/cxx-pretty-print.h b/gcc/cp/cxx-pretty-print.h index dead986..55e9b9c 100644 --- a/gcc/cp/cxx-pretty-print.h +++ b/gcc/cp/cxx-pretty-print.h @@ -29,7 +29,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA typedef enum { - /* Ask for an qualified-id. */ + /* Ask for a qualified-id. */ pp_cxx_flag_default_argument = 1 << pp_c_flag_last_bit } cxx_pretty_printer_flags; diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c index d196606..4f64fa0 100644 --- a/gcc/cp/name-lookup.c +++ b/gcc/cp/name-lookup.c @@ -399,7 +399,7 @@ pop_binding (tree id, tree decl) } } -/* BINDING records an existing declaration for a namein the current scope. +/* BINDING records an existing declaration for a name in the current scope. But, DECL is another declaration for that same identifier in the same scope. This is the `struct stat' hack whereby a non-typedef class name or enum-name can be bound at the same level as some other @@ -4592,7 +4592,7 @@ maybe_process_template_type_declaration (tree type, int is_friend, { maybe_add_class_template_decl_list (current_class_type, type, /*friend_p=*/0); - /* Put this UDT in the table of UDTs for the class. */ + /* Put this UTD in the table of UTDs for the class. */ if (CLASSTYPE_NESTED_UTDS (current_class_type) == NULL) CLASSTYPE_NESTED_UTDS (current_class_type) = binding_table_new (SCOPE_DEFAULT_HT_SIZE); diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 082727e..324d5f1 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -2042,7 +2042,7 @@ cp_parser_diagnose_invalid_type_name (cp_parser *parser, tree scope, tree id) decl = cp_parser_lookup_name_simple (parser, id); parser->scope = old_scope; /* If the lookup found a template-name, it means that the user forgot - to specify an argument list. Emit an useful error message. */ + to specify an argument list. Emit a useful error message. */ if (TREE_CODE (decl) == TEMPLATE_DECL) error ("invalid use of template-name %qE without an argument list", decl); @@ -12239,7 +12239,7 @@ cp_parser_ctor_initializer_opt_and_function_body (cp_parser *parser) = initializer-clause ( expression-list ) - Returns a expression representing the initializer. If no + Returns an expression representing the initializer. If no initializer is present, NULL_TREE is returned. *IS_PARENTHESIZED_INIT is set to TRUE if the `( expression-list )' @@ -14683,7 +14683,7 @@ cp_parser_maybe_treat_template_as_class (tree decl, bool tag_name_p) template <typename T> struct A::B {}; - Similarly, in a elaborated-type-specifier: + Similarly, in an elaborated-type-specifier: namespace N { struct X{}; } |