Lines Matching refs:parser
2034 cpp_reader *parser = cpp_create_reader (CLK_GNUC89, NULL, line_table);
2036 const char *fname = cpp_read_main_file (parser, tmp.get_filename ());
2044 tok = cpp_get_token_with_location (parser, &loc);
2047 ASSERT_TOKEN_AS_TEXT_EQ (parser, tok, "test_name");
2050 tok = cpp_get_token_with_location (parser, &loc);
2053 ASSERT_TOKEN_AS_TEXT_EQ (parser, tok, "\"test literal\"");
2056 tok = cpp_get_token_with_location (parser, &loc);
2059 ASSERT_TOKEN_AS_TEXT_EQ (parser, tok, "42");
2062 tok = cpp_get_token_with_location (parser, &loc);
2066 cpp_finish (parser, NULL);
2067 cpp_destroy (parser);