| 470 | } |
| 471 | |
| 472 | static const cbm_token_t *advance(parser_t *p) { |
| 473 | if (p->pos >= p->count) { |
| 474 | return &p->tokens[p->count - SKIP_ONE]; |
| 475 | } |
| 476 | return &p->tokens[p->pos++]; |
| 477 | } |
| 478 | |
| 479 | static bool check(parser_t *p, cbm_token_type_t type) { |
| 480 | return peek(p)->type == type; |
no outgoing calls
no test coverage detected