FreeBSD/contrib/gcc/c-parser.c
/* Expect to be at the end of the pragma directive and consume an
   end of line marker.  */
Expect to be at the end of the pragma directive and consume an
end of line marker.
Expect to be at the end of the pragma directive and consume an end of line marker .
static void
c_parser_skip_to_pragma_eol (c_parser *parser)
{
  gcc_assert (parser->in_pragma);
  parser->in_pragma = false;
  if (!c_parser_require (parser, CPP_PRAGMA_EOL, "expected end of line"))
    while (true)
      {
	c_token *token = c_parser_peek_token (parser);
	if (token->type == CPP_EOF)
	  break;
	if (token->type == CPP_PRAGMA_EOL)
	  {
	    c_parser_consume_token (parser);
	    break;
	  }
	c_parser_consume_token (parser);
      }
  parser->error = false;
}
static void c_parser_skip_to_pragma_eol ( c_parser * parser ) { gcc_assert ( parser -> in_pragma ) ; parser -> in_pragma = false ; if ( ! c_parser_require ( parser , CPP_PRAGMA_EOL , " " ) ) while ( true ) { c_token * token = c_parser_peek_token ( parser ) ; if ( token -> type == CPP_EOF ) break ; if ( token -> type == CPP_PRAGMA_EOL ) { c_parser_consume_token ( parser ) ; break ; } c_parser_consume_token ( parser ) ; } parser -> error = false ; }
Expect to be at the end of the pragma directive and consume an
end of line marker.
Expect to be at the end of the pragma directive and consume an end of line marker .