Fix JSON objects failing to pass

Maybe I should run the whole test suite, not just the things I think
matter? Nah....
This commit is contained in:
SquidDev 2020-11-01 11:48:19 +00:00
parent e2a635b6e5
commit 666e83cf4f
1 changed files with 1 additions and 1 deletions

View File

@ -530,7 +530,7 @@ do
while true do
local key, value
if c == "\"" then key, pos = parse_string(str, pos + 1)
if c == "\"" then key, pos = parse_string(str, pos + 1, "\"")
elseif opts.nbt_style then key, pos = parse_ident(str, pos)
else return expected(pos, c, "object key")
end