main: Add more luacheck annotations

Wed, 12 Sep 2018 11:37:33 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 12 Sep 2018 11:37:33 +0100
changeset 149
b2e397594cbd
parent 148
e2c85e095a4c
child 150
cf2b2fcd0bc1

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);

mercurial