diff options
Diffstat (limited to 'script-beta/parser')
-rw-r--r-- | script-beta/parser/compile.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/script-beta/parser/compile.lua b/script-beta/parser/compile.lua index f2a78c28..2c7172e8 100644 --- a/script-beta/parser/compile.lua +++ b/script-beta/parser/compile.lua @@ -212,6 +212,15 @@ local vmMap = { if node then addRef(node, obj) end + local name = obj[1] + if specials[name] then + addSpecial(name, obj) + elseif Options and Options.special then + local asName = Options.special[name] + if specials[asName] then + addSpecial(asName, obj) + end + end end end, ['local'] = function (obj) |