From b51b7a53f78b576ac02b73dd8e60c49ab500bde9 Mon Sep 17 00:00:00 2001 From: rxi Date: Sat, 15 Aug 2015 10:41:39 +0100 Subject: [PATCH] Minor formatting change to parse() func --- json.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/json.lua b/json.lua index 6ca0d06..746b358 100644 --- a/json.lua +++ b/json.lua @@ -349,9 +349,8 @@ parse = function(str, idx) local f = char_func_map[chr] if f then return f(str, idx, chr) - else - decode_error(str, idx, "unexpected character '" .. chr .. "'") end + decode_error(str, idx, "unexpected character '" .. chr .. "'") end