Commit dbc518f0 by Volker Reichelt Committed by Volker Reichelt

* c-parser.c (c_parser_next_token_is_keyword): Simplify.

From-SVN: r133709
parent fc1ca428
2008-03-28 Volker Reichelt <v.reichelt@netcologne.de>
* c-parser.c (c_parser_next_token_is_keyword): Simplify.
2008-03-28 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/sse.md (*and<mode>3): Pass <MODE>mode instead
......
......@@ -443,12 +443,7 @@ c_parser_next_token_is_not (c_parser *parser, enum cpp_ttype type)
static inline bool
c_parser_next_token_is_keyword (c_parser *parser, enum rid keyword)
{
c_token *token;
/* Peek at the next token. */
token = c_parser_peek_token (parser);
/* Check to see if it is the indicated keyword. */
return token->keyword == keyword;
return c_parser_peek_token (parser)->keyword == keyword;
}
/* Return true if TOKEN can start a type name,
......
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