Skip to content

Commit b51b7a5

Browse files
committed
Minor formatting change to parse() func
1 parent d1ebba0 commit b51b7a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

json.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,8 @@ parse = function(str, idx)
349349
local f = char_func_map[chr]
350350
if f then
351351
return f(str, idx, chr)
352-
else
353-
decode_error(str, idx, "unexpected character '" .. chr .. "'")
354352
end
353+
decode_error(str, idx, "unexpected character '" .. chr .. "'")
355354
end
356355

357356

0 commit comments

Comments
 (0)