| 366 | } |
| 367 | |
| 368 | void expect_text(TokenStream &in, const std::string &str, bool &valid) |
| 369 | { |
| 370 | LOG_TOKEN_POS(in, pos); |
| 371 | if (!accept_text(in, str)) |
| 372 | { |
| 373 | FAIL_WITH_MSG(valid, pos, std::string("Expect text token: ") + str); |
| 374 | } |
| 375 | } |
| 376 | |
| 377 | bool accept_l_list(TokenStream &in) |
| 378 | { |
no test coverage detected