diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-04-06 16:00:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-04-06 16:00:27 +0800 |
commit | 0e0421c29ea3c829ef98fc00e890e80666cece73 (patch) | |
tree | f2877cdd2cc28265032cf920b7a87cfd1076c74c /script/parser/compile.lua | |
parent | bd1196c1b2f6c0722deb765359e5a0702c31644c (diff) | |
download | lua-language-server-0e0421c29ea3c829ef98fc00e890e80666cece73.zip |
fix #490
Diffstat (limited to 'script/parser/compile.lua')
-rw-r--r-- | script/parser/compile.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script/parser/compile.lua b/script/parser/compile.lua index 04fc19c7..a7e0dc1f 100644 --- a/script/parser/compile.lua +++ b/script/parser/compile.lua @@ -90,8 +90,10 @@ local vmMap = { end newNode.mirror = obj.node.node newNode.dummy = true + newNode.parent = obj.args obj.node.node.mirror = newNode tableInsert(obj.args, 1, newNode) + Compiled[newNode] = true end Compile(obj.args, obj) end, |