Searched refs:token2 (Results 1 – 4 of 4) sorted by relevance
1570 cpp_avoid_paste (pfile, token1, token2) in cpp_avoid_paste() argument1572 const cpp_token *token1, *token2;1574 enum cpp_ttype a = token1->type, b = token2->type;1579 if (token2->flags & NAMED_OP)1583 if (token2->flags & DIGRAPH)1607 && name_p (pfile, &token2->val.str))
1444 const cpp_token *token2) in cpp_avoid_paste() argument1446 enum cpp_ttype a = token1->type, b = token2->type; in cpp_avoid_paste()1451 if (token2->flags & NAMED_OP) in cpp_avoid_paste()1455 if (token2->flags & DIGRAPH) in cpp_avoid_paste()1479 && name_p (pfile, &token2->val.str)) in cpp_avoid_paste()
7166 cp_token token2; in cp_parser_declaration() local7185 token2 = *cp_lexer_peek_nth_token (parser->lexer, 2); in cp_parser_declaration()7188 token2.type = CPP_EOF; in cp_parser_declaration()7189 token2.keyword = RID_MAX; in cp_parser_declaration()7198 && cp_parser_is_string_literal (&token2)) in cp_parser_declaration()7206 if (token2.type == CPP_LESS in cp_parser_declaration()7210 else if (token2.type == CPP_LESS) in cp_parser_declaration()7227 && token2.keyword == RID_TEMPLATE) in cp_parser_declaration()7233 (token2.type == CPP_NAME in cp_parser_declaration()7237 || token2.type == CPP_OPEN_BRACE in cp_parser_declaration()[all …]
3721 * parser.c (cp_parser_declaration): Set token2.type to CPP_EOF,