# HG changeset patch # User Matthew Wild # Date 1536748653 -3600 # Node ID b2e397594cbd560ff343d2e06ef5e24fc7f2780a # Parent e2c85e095a4cff64d86090c107e14f7e1d975c1c main: Add more luacheck annotations diff -r e2c85e095a4c -r b2e397594cbd main.lua --- 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);