summaryrefslogtreecommitdiff
path: root/server/test/full
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-08-29 15:40:08 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-08-29 15:40:08 +0800
commit762eb513114ce7dc5a4d1512a910112d1711db32 (patch)
tree875a511dc29610a843928e0b55ff0b2a42e951fa /server/test/full
parentc7598c95032a2bb40860b9320418e73bea1b7f43 (diff)
downloadlua-language-server-762eb513114ce7dc5a4d1512a910112d1711db32.zip
更新LuaParser
Diffstat (limited to 'server/test/full')
-rw-r--r--server/test/full/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/full/init.lua b/server/test/full/init.lua
index 808d7db3..3d0661cb 100644
--- a/server/test/full/init.lua
+++ b/server/test/full/init.lua
@@ -4,7 +4,7 @@ local parser = require 'parser'
rawset(_G, 'TEST', true)
function TEST(script)
- local ast = parser:ast(script, 'lua', 'Lua 5.3')
+ local ast = parser:parse(script, 'lua', 'Lua 5.3')
assert(ast)
local vm, err = buildVM(ast)
assert(vm, err)