summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-30 15:07:39 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-30 15:07:39 +0000
commit0be5f5cccf996b65f95f25b48cbbef708122c196 (patch)
tree646a948c59c3c067ec638de4f8139d4b5213a4e2
parent0c6f02c01d2d6b0ab2c66ce5e7f1d0bcea261563 (diff)
downloadppe42-gcc-0be5f5cccf996b65f95f25b48cbbef708122c196.tar.gz
ppe42-gcc-0be5f5cccf996b65f95f25b48cbbef708122c196.zip
* parser.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91525 138bc75d-0d04-0410-961f-82ee72b054a4
-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 449be96ceea..7f65a2ddde8 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 ebcf852c20c..0e0dccd74d7 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.
OpenPOWER on IntegriCloud