aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu.lua')
-rw-r--r--nomsu.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/nomsu.lua b/nomsu.lua
index 5d32d35..ce737d5 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -1288,6 +1288,10 @@ do
self.environment.ALIASES = setmetatable({ }, {
__mode = "k"
})
+ self.environment.compile_time = function(fn)
+ self.environment.COMPILE_TIME[fn] = true
+ return fn
+ end
self.environment.COMPILE_TIME = { }
self.environment.LOADED = { }
self.environment.AST = AST