From b918668f18cf6b0fe823c5a03c351ad6945a24bb Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 11 Nov 2018 18:03:18 -0800 Subject: Fixed -O optimization flag. --- nomsu_compiler.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu_compiler.lua') diff --git a/nomsu_compiler.lua b/nomsu_compiler.lua index f262dd8..91e1237 100644 --- a/nomsu_compiler.lua +++ b/nomsu_compiler.lua @@ -136,7 +136,7 @@ local compile = setmetatable({ return compile.action["lua >"](compile, code) end, ["use"] = function(compile, path) - return LuaCode("run_file_1_in(" .. tostring(compile(path)) .. ", _ENV)") + return LuaCode("run_file_1_in(" .. tostring(compile(path)) .. ", _ENV, OPTIMIZATION)") end, ["tests"] = function(compile) return LuaCode("TESTS") -- cgit v1.2.3