aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-06-12 20:15:52 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-06-12 20:15:56 -0700
commit968b5da15050d6804404833ea258bdb531dca9ea (patch)
tree25ce49ffefe8d8d2e9469ffbf152c8f6db537da9 /nomsu.lua
parent63a19db0dc817d2929d8ef4bf12a15d5e9dbd015 (diff)
Fixed some bugs.
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