diff options
Diffstat (limited to 'compat53/init.lua')
-rw-r--r-- | compat53/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compat53/init.lua b/compat53/init.lua index 31085be..b952003 100644 --- a/compat53/init.lua +++ b/compat53/init.lua | |||
@@ -46,7 +46,7 @@ if lua_version == "5.1" then | |||
46 | 46 | ||
47 | 47 | ||
48 | if not is_luajit then | 48 | if not is_luajit then |
49 | local function helper(st, var_1, ...) | 49 | local function helper(_, var_1, ...) |
50 | if var_1 == nil then | 50 | if var_1 == nil then |
51 | if (...) ~= nil then | 51 | if (...) ~= nil then |
52 | error((...), 2) | 52 | error((...), 2) |
@@ -197,7 +197,7 @@ if lua_version == "5.1" then | |||
197 | msg = msg:gsub("%z+", function(zeros) | 197 | msg = msg:gsub("%z+", function(zeros) |
198 | return "\n\t(..."..#zeros.." tail call(s)...)" | 198 | return "\n\t(..."..#zeros.." tail call(s)...)" |
199 | end) | 199 | end) |
200 | msg = msg:gsub("\001", function(zeros) | 200 | msg = msg:gsub("\001", function() |
201 | return "\n\t..." | 201 | return "\n\t..." |
202 | end) | 202 | end) |
203 | return msg | 203 | return msg |