wrong parsing of nested lists
Opened this issue · 4 comments
freylax commented
When parsing a list of maps and the last item of an map contains an non bracketed list the next outer list item will be intermixed with the inner one:
- l:
- a
- l:
- b
will result in:
- l: [ a, l: [ b ] ]
instead of
- l: [a]
- l: [b]
freylax commented
Also hyphened nested lists do not work as expected.
freylax commented
I added support for nested lists, but need help to create an pull request
The repo https://github.com/nodecum/zig-yaml contains the changes.
leap0x7b commented
Bro how did you not know how to pull request? Just go to https://github.com/kubkon/zig-yaml/compare and that's it. It's that easy.
freylax commented
Dear Jakub Konka,
I hope I did it all right now. Learnd git a bit more, thanks!