aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-05-19 03:05:49 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-05-19 03:05:49 +0000
commit128a79fb0142757127a8ded0635ce6f4f94ecbba (patch)
tree2515da9a6676ddb153df106225173fc9b07d620d /gcc/cp/parser.c
parentf75aac9e435b093bed7dbacf192453c2147e1503 (diff)
downloadgcc-128a79fb0142757127a8ded0635ce6f4f94ecbba.zip
gcc-128a79fb0142757127a8ded0635ce6f4f94ecbba.tar.gz
gcc-128a79fb0142757127a8ded0635ce6f4f94ecbba.tar.bz2
cfgexpand.c, [...]: Fix comment typos.
gcc/ * cfgexpand.c, tree-cfg.c, tree-inline.c, tree-optimize.c, tree-ssa-forwprop.c: Fix comment typos. * doc/invoke.texi: Fix a typo. cp/ * parser.c: Fix comment typos. From-SVN: r99944
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r--gcc/cp/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 7b58840..b0dee73 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -9687,7 +9687,7 @@ cp_parser_simple_type_specifier (cp_parser* parser,
tree qual_type = objc_get_protocol_qualified_type (type, protos);
/* Clobber the "unqualified" type previously entered into
- DECL_SPECS with the new, improved protocol-qualifed version. */
+ DECL_SPECS with the new, improved protocol-qualified version. */
if (decl_specs)
decl_specs->type = qual_type;
@@ -17015,7 +17015,7 @@ cp_parser_objc_protocol_declaration (cp_parser* parser)
goto finish;
}
- /* See if we have a foward declaration or a definition. */
+ /* See if we have a forward declaration or a definition. */
tok = cp_lexer_peek_nth_token (parser->lexer, 2);
/* Try a forward declaration first. */