This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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.
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]