> 
> >> +           token = cp_lexer_peek_token (parser->lexer);
> >> +           if (token->type != CPP_SEMICOLON)
> >> +             {
> >> +               error_at (token->location, "%<_Cilk_sync%> must be 
> >> followed"
> >> +                         " by semicolon");
> >> +               postfix_expression = error_mark_node;
> >> +               break;
> >> +             }
> 
> Any reason not to use cp_parser_require here?

I remembered - I haven't used cp_parser_require since it calls 
cp_lexer_consume_token which is not needed at this point. It is already called 
a bit earlier.

Igor

> 
> Jason

Reply via email to