This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] cp/parser.c: Fix comment typos.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Nov 2004 10:07:54 -0500 (EST)
- Subject: [patch] cp/parser.c: Fix comment typos.
Hi,
Committed as obvious.
Kazu Hirata
2004-11-30 Kazu Hirata <kazu@cs.umass.edu>
* parser.c: Fix comment typos.
Index: parser.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/parser.c,v
retrieving revision 1.284
diff -u -d -p -r1.284 parser.c
--- parser.c 29 Nov 2004 20:10:12 -0000 1.284
+++ parser.c 30 Nov 2004 15:04:51 -0000
@@ -1862,7 +1862,7 @@ cp_parser_check_type_definition (cp_pars
}
/* 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*
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.