I found a parsing bug #484
Answered
by
fktn-k
shiyue-code
asked this question in
Q&A
-
|
The content of yaml is: test:
- coords:
-
-
name: "a"Parsing results of yaml-cpp: test:
- coords:
- ~
- ~
name: afkyaml result is wrong: test:
-
coords:
- null
-
name: a |
Beta Was this translation helpful? Give feedback.
Answered by
fktn-k
Feb 27, 2025
Replies: 1 comment 5 replies
-
|
@shiyue-code |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@shiyue-code
It's turned out that parsing a block mapping entry
name: "a"after an empty block sequence entry-is causing the unexpected result, which is not being covered by the parser implementation.So, I've created an issue (#488) and a PR for it. Should be fixed soon.