From 666e83cf4fd0eb327f465d5b919a708790f99b00 Mon Sep 17 00:00:00 2001 From: SquidDev Date: Sun, 1 Nov 2020 11:48:19 +0000 Subject: [PATCH] Fix JSON objects failing to pass Maybe I should run the whole test suite, not just the things I think matter? Nah.... --- .../resources/data/computercraft/lua/rom/apis/textutils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/data/computercraft/lua/rom/apis/textutils.lua b/src/main/resources/data/computercraft/lua/rom/apis/textutils.lua index e8e999677..e6156d3b0 100644 --- a/src/main/resources/data/computercraft/lua/rom/apis/textutils.lua +++ b/src/main/resources/data/computercraft/lua/rom/apis/textutils.lua @@ -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