Wed, 12 Sep 2018 11:37:33 +0100
main: Add more luacheck annotations
main.lua | file | annotate | diff | comparison | revisions |
--- a/main.lua Wed Sep 12 11:36:29 2018 +0100 +++ b/main.lua Wed Sep 12 11:37:33 2018 +0100 @@ -139,7 +139,7 @@ local function uninitialize_script(script) script.finished = true; - for name, obj in pairs(script.objects) do + for name, obj in pairs(script.objects) do --luacheck: ignore name if obj.handler._finish then obj.handler._finish(obj); end @@ -311,7 +311,7 @@ error("This version of scansion was not built with --with-server"); end - initialize_verse(function (e) + initialize_verse(function (e) --luacheck: ignore e -- This function handles scansion errors, -- but they shouldn't reach here anyway end);