The block-scalar break scanner raised 'found a tab character where an indentation space is expected' for every tab seen while auto-detecting the content indentation. But a tab at or beyond the content column is content, not indentation: only a tab below the content column is illegal. Gate the tab check on a content-column floor (the resolved indent, or the parent indent + 1 while auto-detecting) instead of firing on every tab in auto-detect mode. A tab-only line shallower than the content is still rejected, so tab-as-indentation errors (Y79Y/000 and friends) are preserved. Surpasses libyaml on 96NN/00, 96NN/01, R4YG, Y79Y/001. Port score 286 -> 290. |
||
|---|---|---|
| .. | ||
| Coding | ||
| Decoding | ||
| Emitting | ||
| Encoding | ||
| Model | ||
| Parsing | ||
| Stream | ||
| Tagged | ||
| Validation | ||
| API.swift | ||
| PureYAML.swift | ||