FreeBSD/contrib/gcc/cp/parser.c
/* Parse an Objective-C statement.  */
Parse an Objective-C statement.
Parse an Objective - C statement .
static tree
cp_parser_objc_statement (cp_parser * parser) {
  cp_token *kwd = cp_lexer_peek_token (parser->lexer);
  switch (kwd->keyword)
    {
    case RID_AT_TRY:
      return cp_parser_objc_try_catch_finally_statement (parser);
    case RID_AT_SYNCHRONIZED:
      return cp_parser_objc_synchronized_statement (parser);
    case RID_AT_THROW:
      return cp_parser_objc_throw_statement (parser);
    default:
      error ("misplaced %<@%D%> Objective-C++ construct", kwd->u.value);
      cp_parser_skip_to_end_of_block_or_statement (parser);
    }
  return error_mark_node;
}
static tree cp_parser_objc_statement ( cp_parser * parser ) { cp_token * kwd = cp_lexer_peek_token ( parser -> lexer ) ; switch ( kwd -> keyword ) { case RID_AT_TRY : return cp_parser_objc_try_catch_finally_statement ( parser ) ; case RID_AT_SYNCHRONIZED : return cp_parser_objc_synchronized_statement ( parser ) ; case RID_AT_THROW : return cp_parser_objc_throw_statement ( parser ) ; default : error ( " " , kwd -> u . value ) ; cp_parser_skip_to_end_of_block_or_statement ( parser ) ; } return error_mark_node ; }
Parse an Objective-C statement.
Parse an Objective - C statement .
/* Try to figure out what kind of declaration is present.  */