mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-28 00:12:16 +00:00
Fix JSON objects failing to pass
This commit is contained in:
parent
457a863842
commit
7e65c6b25c
@ -261,3 +261,11 @@ Fixes #559
|
|||||||
e2a635b6e5f5942f999213434054e06833c5cb06
|
e2a635b6e5f5942f999213434054e06833c5cb06
|
||||||
Dont fail when codecov is being finicky
|
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....
|
||||||
|
```
|
||||||
|
@ -530,7 +530,7 @@ do
|
|||||||
|
|
||||||
while true do
|
while true do
|
||||||
local key, value
|
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)
|
elseif opts.nbt_style then key, pos = parse_ident(str, pos)
|
||||||
else return expected(pos, c, "object key")
|
else return expected(pos, c, "object key")
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user