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