| 1033 | } |
| 1034 | |
| 1035 | static void *cs_tmp_alloc(cs_scan_t *s, size_t n) { |
| 1036 | s->cost_bytes += n; |
| 1037 | void *p = cbm_arena_alloc(s->tmp, n ? n : SKIP_ONE); |
| 1038 | if (!p) { |
| 1039 | s->failed = true; |
| 1040 | } |
| 1041 | return p; |
| 1042 | } |
| 1043 | |
| 1044 | /* Copy of source bytes [a, b) without whitespace and '@'. NULL unless it is a |
| 1045 | * (dotted) identifier of sane length and well-formed UTF-8: an error-recovered |
no test coverage detected