A flow sequence entry that begins with ':' (e.g. '[ : v ]') is a single-pair mapping with an empty key, which YAML 1.2 permits but libyaml rejects by handing the leading VALUE token to its node parser. Open the implicit single-pair mapping on a leading ':' in the flow-sequence-entry parser, and leave the VALUE token for the mapping value state to consume so the value is parsed rather than dropped. Surpasses libyaml on CFD4. Port score 298 -> 299. |
||
|---|---|---|
| .. | ||
| Coding | ||
| Decoding | ||
| Emitting | ||
| Encoding | ||
| Model | ||
| Parsing | ||
| Stream | ||
| Tagged | ||
| Validation | ||
| API.swift | ||
| PureYAML.swift | ||