summaryrefslogtreecommitdiff
path: root/script/parser/compile.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser/compile.lua')
-rw-r--r--script/parser/compile.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/script/parser/compile.lua b/script/parser/compile.lua
index f9992047..3c15beac 100644
--- a/script/parser/compile.lua
+++ b/script/parser/compile.lua
@@ -1,6 +1,6 @@
local guide = require 'parser.guide'
-local type = type
-local os = os
+local type = type
+local os = os
local specials = {
['_G'] = true,
@@ -540,6 +540,9 @@ return function (self, lua, mode, version, options)
if not state then
return nil, err
end
+ if options.delay then
+ options.delay()
+ end
local clock = os.clock()
pushError = state.pushError
if version == 'Lua 5.1' or version == 'LuaJIT' then