aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-30 15:07:39 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-30 15:07:39 +0000
commit472c29c36418690550ac46005b58ff474d757e1f (patch)
tree646a948c59c3c067ec638de4f8139d4b5213a4e2 /gcc
parent218d1b8834ea64304e27749811c48f8ed48728a9 (diff)
downloadgcc-472c29c36418690550ac46005b58ff474d757e1f.zip
gcc-472c29c36418690550ac46005b58ff474d757e1f.tar.gz
gcc-472c29c36418690550ac46005b58ff474d757e1f.tar.bz2
* parser.c: Fix comment typos.
From-SVN: r91525
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/parser.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 449be96..7f65a2d 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-30 Kazu Hirata <kazu@cs.umass.edu>
+
+ * parser.c: Fix comment typos.
+
2004-11-27 Mark Mitchell <mark@codesourcery.com>
PR c++/18368
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index ebcf852..0e0dccd 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -1862,7 +1862,7 @@ cp_parser_check_type_definition (cp_parser* parser)
}
/* This function is called when the DECLARATOR is processed. The TYPE
- was a type definied in the decl-specifiers. If it is invalid to
+ was a type defined in the decl-specifiers. If it is invalid to
define a type in the decl-specifiers for DECLARATOR, an error is
issued. */
@@ -14067,7 +14067,7 @@ cp_parser_label_declaration (cp_parser* parser)
If there was no entity with the indicated NAME, the ERROR_MARK_NODE
is returned.
- If TAG_TYPE is not NONE_TYPE, it inidcates an explicit type keyword
+ If TAG_TYPE is not NONE_TYPE, it indicates an explicit type keyword
(e.g., "struct") that was used. In that case bindings that do not
refer to types are ignored.