diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-11-11 18:03:18 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-11-11 18:03:25 -0800 |
| commit | b918668f18cf6b0fe823c5a03c351ad6945a24bb (patch) | |
| tree | 791354712dd3ac8e03bac5ed773d17598cc87774 /nomsu_compiler.lua | |
| parent | 9b6caad828e4feb2dca77353e7ffdab465a1faa8 (diff) | |
Fixed -O optimization flag.
Diffstat (limited to 'nomsu_compiler.lua')
| -rw-r--r-- | nomsu_compiler.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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") |
