* parser.c: Fix comment typos.

From-SVN: r91525
This commit is contained in:
Kazu Hirata 2004-11-30 15:07:39 +00:00 committed by Kazu Hirata
parent 218d1b8834
commit 472c29c364
2 changed files with 6 additions and 2 deletions

View file

@ -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> 2004-11-27 Mark Mitchell <mark@codesourcery.com>
PR c++/18368 PR c++/18368

View file

@ -1862,7 +1862,7 @@ cp_parser_check_type_definition (cp_parser* parser)
} }
/* This function is called when the DECLARATOR is processed. The TYPE /* 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 define a type in the decl-specifiers for DECLARATOR, an error is
issued. */ 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 If there was no entity with the indicated NAME, the ERROR_MARK_NODE
is returned. 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 (e.g., "struct") that was used. In that case bindings that do not
refer to types are ignored. refer to types are ignored.