Commit graph

6 commits

Author SHA1 Message Date
Ethiraric
3cade858fa Add test for issue 13, just in case. 2024-10-17 20:02:09 +02:00
Joe Neeman
982407774e Add regression test for infinite loop. 2024-10-17 19:36:20 +02:00
Ethiraric
7fa54dcb24 Run issue tests through BufferedInput. 2024-10-17 19:18:45 +02:00
jneem
d82866555a Look ahead before testing for EOF. (#12)
Look ahead before testing for EOF.

This fixes panics in saphyr's test_multiline_trailing_newline and
test_multiline_leading_newline tests, in which `self.input.next_is_z`
would be called on an empty buffer and panic in `peek`
2024-10-13 14:48:06 +02:00
Eduardo Sánchez Muñoz
6c57b5b5e4 Add "explicit" flag to Event::DocumentStart (#5)
Allows the event consumer to know whether the document explicitly starts with a `---`
2024-08-05 17:23:04 +02:00
Ethiraric
750c992121 Add support for nested implicit flow mappings.
These are corner cases not tested by the `yaml-test-suite`.
Parsing for the reported input has been fixed, as well as other
similar-looking inputs which make use of nested implicit flow mappings
and implicit null keys and values.

Fixes #1.
2024-07-02 01:56:34 +02:00