diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-01-30 12:01:34 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-01-30 12:01:34 +0800 |
commit | f5d631b87b38a54b8cb40dec602a7f1910fe7e4f (patch) | |
tree | db2c1715e43ec4cf7c466578c44c3c6fdb9b2a67 /script/vm/compiler.lua | |
parent | de82efa9bf794ea195c4d1b3da229500c8a213e1 (diff) | |
download | lua-language-server-f5d631b87b38a54b8cb40dec602a7f1910fe7e4f.zip |
respect quotation marks
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r-- | script/vm/compiler.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index 3342710a..a3057629 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1177,7 +1177,8 @@ local compilerSwitch = util.switch() end -- { f = function (<?x?>) end } - if guide.isAssign(parent) then + if guide.isAssign(parent) + and parent.value == source then vm.setNode(source, vm.compileNode(parent)) end end) |