Home
last modified time | relevance | path

Searched refs:token2 (Results 1 – 4 of 4) sorted by relevance

/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dcpplex.c1570 cpp_avoid_paste (pfile, token1, token2) in cpp_avoid_paste() argument
1572 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))
/openbsd-src/gnu/gcc/libcpp/
H A Dlex.c1444 const cpp_token *token2) in cpp_avoid_paste() argument
1446 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()
/openbsd-src/gnu/gcc/gcc/cp/
H A Dparser.c7166 cp_token token2; in cp_parser_declaration() local
7185 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 …]
H A DChangeLog3721 * parser.c (cp_parser_declaration): Set token2.type to CPP_EOF,