fktn-k / fkYAML

A C++ header-only YAML library
MIT License
69 stars 7 forks source link

fixed parse error on explicit mappings as a block sequence entry #353

Closed fktn-k closed 4 months ago

fktn-k commented 4 months ago

This PR has fixed parse errors on explicit mappings as a block sequence entry like the following valid YAML snippet:

- ? foo: 123
  : bar: true
- ? - baz
  : - null

The root cause was that the fkYAML parser just didn't assume explicit mappings as a block sequence entry.
So, implementation has been added for such nodes with some update of the test suite which validates the functionality.


Pull Request Checklist

Read the CONTRIBUTING.md file for detailed information.

Please don't

github-actions[bot] commented 4 months ago

:octocat: Upload Coverage Event Notification

Coverage data has been uploaded for the commit 280c76c1912345f99e4c1c6027a15923c13de334. You can download the artifact which contains the same file uploaded to the Coveralls and its HTML version.

Name fkYAML_coverage.pr353.zip
ID 1558584594
URL https://github.com/fktn-k/fkYAML/actions/runs/9328722128/artifacts/1558584594
coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9328722128

Details


Totals Coverage Status
Change from base Build 9326939126: 0.0%
Covered Lines: 3901
Relevant Lines: 3901

💛 - Coveralls