Commit 4ac6f4c5 by Mark Mitchell Committed by Mark Mitchell

parser.c (cp_lexer_next_token_is_decl_specifier_keyword): Add comment.

	* parser.c (cp_lexer_next_token_is_decl_specifier_keyword): Add
	comment.

From-SVN: r117836
parent d19b84e9
2006-10-17 Mark Mitchell <mark@codesourcery.com>
PR c++/28261
* parser.c (cp_lexer_next_token_is_decl_specifier_keyword): Add
comment.
PR c++/28261
* parser.c (cp_lexer_next_token_is_decl_specifier_keyword): New
function.
(cp_parser_constructor_declarator_p): Use it.
......
......@@ -505,6 +505,8 @@ cp_lexer_next_token_is_keyword (cp_lexer* lexer, enum rid keyword)
return cp_lexer_peek_token (lexer)->keyword == keyword;
}
/* Return true if the next token is a keyword for a decl-specifier. */
static bool
cp_lexer_next_token_is_decl_specifier_keyword (cp_lexer *lexer)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment