aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>2005-07-21 10:33:31 +0000
committerVolker Reichelt <reichelt@gcc.gnu.org>2005-07-21 10:33:31 +0000
commitc72a1a86739dc493dceec289da603b8517b46b12 (patch)
treeeb1b0313b529bab237a12c44df5bd26fcf6405b3 /gcc/cp/parser.c
parent423c1d1c5480f39614f6e39fd938e2ddeab7a5ba (diff)
downloadgcc-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/cp/parser.c')
-rw-r--r--gcc/cp/parser.c6
1 files changed, 3 insertions, 3 deletions
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{}; }