diff --git a/patchwork.md b/patchwork.md index bd9e7338f..83a4ec16a 100644 --- a/patchwork.md +++ b/patchwork.md @@ -261,3 +261,11 @@ Fixes #559 e2a635b6e5f5942f999213434054e06833c5cb06 Dont fail when codecov is being finicky ``` + +``` +666e83cf4fd0eb327f465d5b919a708790f99b00 +Fix JSON objects failing to pass + +Maybe I should run the whole test suite, not just the things I think +matter? Nah.... +``` 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 d7aeb9e67..358557b55 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