diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-31 19:06:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-31 19:06:15 +0800 |
commit | 584b26c62fafe843c6ae618dba1350d07bf8f091 (patch) | |
tree | d6b8c30c0652db6f9eb4007312a76d5fc9368617 /server/test/signature/init.lua | |
parent | e789de1e2b6680c57d4746374d2d4977764265cd (diff) | |
download | lua-language-server-584b26c62fafe843c6ae618dba1350d07bf8f091.zip |
更新语法解析
Diffstat (limited to 'server/test/signature/init.lua')
-rw-r--r-- | server/test/signature/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/signature/init.lua b/server/test/signature/init.lua index 86b5f05a..4110c585 100644 --- a/server/test/signature/init.lua +++ b/server/test/signature/init.lua @@ -5,7 +5,7 @@ rawset(_G, 'TEST', true) function TEST(script) return function (expect) - local pos = script:find('@', 1, true) + 1 + local pos = script:find('@', 1, true) local new_script = script:gsub('@', '') local ast = parser:ast(new_script) local vm = core.vm(ast) |