mirror of https://github.com/rxi/json.lua.git
Minor formatting change to parse() func
parent
d1ebba043c
commit
b51b7a53f7
3
json.lua
3
json.lua
|
@ -349,9 +349,8 @@ parse = function(str, idx)
|
||||||
local f = char_func_map[chr]
|
local f = char_func_map[chr]
|
||||||
if f then
|
if f then
|
||||||
return f(str, idx, chr)
|
return f(str, idx, chr)
|
||||||
else
|
|
||||||
decode_error(str, idx, "unexpected character '" .. chr .. "'")
|
|
||||||
end
|
end
|
||||||
|
decode_error(str, idx, "unexpected character '" .. chr .. "'")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue