| 559 | } |
| 560 | |
| 561 | static inline enum field_terminator |
| 562 | scan_mb_field (mbbuf_t *mbbuf, struct mbfield_parser *parser, |
| 563 | bool *have_pending_line, bool write_field, idx_t *n_bytes) |
| 564 | { |
| 565 | return (parser->whitespace_delimited |
| 566 | ? scan_mb_blank_field (mbbuf, parser, have_pending_line, |
| 567 | write_field, n_bytes) |
| 568 | : scan_mb_delim_field (mbbuf, have_pending_line, write_field, |
| 569 | n_bytes)); |
| 570 | } |
| 571 | |
| 572 | /* Return a pointer to the next field delimiter in BUF, searching LEN bytes. |
| 573 | Return NULL if none is found. DELIM_BYTES must be a single byte or |
no test coverage detected