aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@gcc.gnu.org>2003-10-21 02:16:17 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-10-21 02:16:17 +0000
commitcd0be382c9162e58a6701368db23ba29395d88be (patch)
tree0c02820a1869ab8cdb6e713dba2a47e4e3f4d194 /gcc/cp/parser.c
parentbe03ccc9da81801953dca0e2a2061c9b8c753787 (diff)
downloadgcc-cd0be382c9162e58a6701368db23ba29395d88be.zip
gcc-cd0be382c9162e58a6701368db23ba29395d88be.tar.gz
gcc-cd0be382c9162e58a6701368db23ba29395d88be.tar.bz2
ChangeLog: Fix typos.
* ChangeLog: Fix typos. * call.c: Fix comment typos. * class.c: Likewise. * cp-tree.h: Likewise. * cvt.c: Likewise. * cxx-pretty-print.c: Likewise. * decl.c: Likewise. * decl2.c: Likewise. * init.c: Likewise. * mangle.c: Likewise. * name-lookup.c: Likewise. * parser.c: Likewise. * search.c: Likewise. * semantics.c: Likewise. * tree.c: Likewise. * typeck.c: Likewise. From-SVN: r72737
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r--gcc/cp/parser.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 1d1799c..b6416e8 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -1200,7 +1200,7 @@ typedef struct cp_parser GTY(())
/* TRUE if default arguments are allowed within a parameter list
that starts at this point. FALSE if only a gnu extension makes
- them permissable. */
+ them permissible. */
bool default_arg_ok_p;
/* TRUE if we are parsing an integral constant-expression. See
@@ -1790,7 +1790,7 @@ cp_parser_check_for_definition_in_return_type (tree declarator,
error ("new types may not be defined in a return type");
}
-/* Issue an eror message about the fact that THING appeared in a
+/* Issue an error message about the fact that THING appeared in a
constant-expression. Returns ERROR_MARK_NODE. */
static tree
@@ -2502,7 +2502,7 @@ cp_parser_primary_expression (cp_parser *parser,
named is a template.
If DECLARATOR_P is true, the id-expression is appearing as part of
- a declarator, rather than as part of an exprsesion. */
+ a declarator, rather than as part of an expression. */
static tree
cp_parser_id_expression (cp_parser *parser,
@@ -12088,7 +12088,7 @@ cp_parser_member_declaration (cp_parser* parser)
= 0
Returns INTEGER_ZERO_NODE if a pure specifier is found.
- Otherwiser, ERROR_MARK_NODE is returned. */
+ Otherwise, ERROR_MARK_NODE is returned. */
static tree
cp_parser_pure_specifier (cp_parser* parser)
@@ -12829,7 +12829,7 @@ cp_parser_attribute_list (cp_parser* parser)
if (token->type != CPP_COMMA)
break;
- /* Consume the commma and keep going. */
+ /* Consume the comma and keep going. */
cp_lexer_consume_token (parser->lexer);
}
@@ -13885,7 +13885,7 @@ cp_parser_late_parsing_for_member (cp_parser* parser, tree member_function)
= TREE_CHAIN (parser->unparsed_functions_queues);
}
-/* If DECL contains any default args, remeber it on the unparsed
+/* If DECL contains any default args, remember it on the unparsed
functions queue. */
static void
@@ -14277,7 +14277,7 @@ cp_parser_check_class_key (enum tag_types class_key, tree type)
type);
}
-/* Issue an error message if DECL is redeclared with differnt
+/* Issue an error message if DECL is redeclared with different
access than its original declaration [class.access.spec/3].
This applies to nested classes and nested class templates.
[class.mem/1]. */