* c-parser.c (c_parser_next_token_is_keyword): Simplify.
From-SVN: r133709
This commit is contained in:
parent
fc1ca42854
commit
dbc518f09c
2 changed files with 5 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
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,
|
||||
|
|
Loading…
Add table
Reference in a new issue