434f4521dd
Previously, we often used the scanner state to infer the positions of mappings. This is sometimes wrong, because the scanner has already scanned ahead by the time the mapping is parsed. This commit adds a check to the test suite, asserting that parser event positions are all observed in order, and it fixes the scanner and parser to make the new check pass. |
||
---|---|---|
.. | ||
yaml-test-suite | ||
basic.rs | ||
issues.rs | ||
span.rs | ||
spec_test.rs | ||
spec_test.rs.inc | ||
specexamples.rs.inc | ||
yaml-test-suite.rs |