| 563 | } tm_scan_t; |
| 564 | |
| 565 | static const char *tm_name(tm_scan_t *sc, const tm_tok_t *tok) { |
| 566 | const char *copy = cbm_arena_strndup(&sc->m->arena, tok->text, tok->len); |
| 567 | sc->ok = sc->ok && copy != NULL; |
| 568 | return copy; |
| 569 | } |
| 570 | |
| 571 | static void tm_add_case(tm_scan_t *sc, const tm_tok_t *name, int line) { |
| 572 | cbm_test_model_t *m = sc->m; |
no test coverage detected