| 258 | } |
| 259 | |
| 260 | static int lex_fixed(struct sbg_parser *p, const char *t, int l) |
| 261 | { |
| 262 | if (p->end - p->cursor < l || memcmp(p->cursor, t, l)) |
| 263 | return 0; |
| 264 | p->cursor += l; |
| 265 | return 1; |
| 266 | } |
| 267 | |
| 268 | static int lex_line_end(struct sbg_parser *p) |
| 269 | { |
no outgoing calls
no test coverage detected