diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-15 15:25:56 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-15 15:25:56 +0800 |
commit | 6de8c401f4345863e0800a7262ca66c49b0a281c (patch) | |
tree | a911a7813fe5aacec89c3cca9c8b79346b6ab219 /server-beta/src/parser/compile.lua | |
parent | 932064c8d94e3eea98dd8fce046286f561d72ec5 (diff) | |
download | lua-language-server-6de8c401f4345863e0800a7262ca66c49b0a281c.zip |
直接用 special 就行了,不再递归分析特殊API
Diffstat (limited to 'server-beta/src/parser/compile.lua')
-rw-r--r-- | server-beta/src/parser/compile.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server-beta/src/parser/compile.lua b/server-beta/src/parser/compile.lua index ef6f73a7..bcd9ecc8 100644 --- a/server-beta/src/parser/compile.lua +++ b/server-beta/src/parser/compile.lua @@ -407,6 +407,7 @@ local vmMap = { finish = 0, effect = 0, tag = '_ENV', + special= '_G', [1] = '_ENV', }, obj) end |