[PATCH 16/16] Add "__RTL" to cc1

Joseph Myers joseph@codesourcery.com
Wed Oct 5 16:10:00 GMT 2016


On Wed, 5 Oct 2016, David Malcolm wrote:

> @@ -1752,6 +1759,35 @@ c_parser_declaration_or_fndef (c_parser *parser, bool fndef_ok,
>        c_parser_skip_to_end_of_block_or_statement (parser);
>        return;
>      }
> +
> +  if (c_parser_next_token_is (parser, CPP_KEYWORD))
> +    {
> +      c_token *kw_token = c_parser_peek_token (parser);
> +      if (kw_token->keyword == RID_RTL)

if (c_parser_next_token_is_keyword (parser, RID_RTL))

You're missing an update to the comment above this function to show what 
the new syntax is.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list