peposso / lua-tinyyaml

a tiny yaml (subset) parser for pure lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sequence of sequences is not supported

spacewander opened this issue · comments

Parse

- [1, 2]

will fail.

Got:

share/lua/5.1/tinyyaml.lua:535: bad argument #2 to 'tinsert' (number expected, got table)
stack traceback:
        [C]: in function 'tinsert'
        .../tinyyaml.lua:535: in function 'parseseq'
        ../tinyyaml.lua:675: in function 'parsemap'
        ../tinyyaml.lua:530: in function 'parseseq'

Just wondering if you found a workaround for this? I have the same issue.