diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-08-29 15:40:08 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-08-29 15:40:08 +0800 |
commit | 762eb513114ce7dc5a4d1512a910112d1711db32 (patch) | |
tree | 875a511dc29610a843928e0b55ff0b2a42e951fa /server/test/diagnostics/init.lua | |
parent | c7598c95032a2bb40860b9320418e73bea1b7f43 (diff) | |
download | lua-language-server-762eb513114ce7dc5a4d1512a910112d1711db32.zip |
更新LuaParser
Diffstat (limited to 'server/test/diagnostics/init.lua')
-rw-r--r-- | server/test/diagnostics/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua index 70a6c586..f0f7096f 100644 --- a/server/test/diagnostics/init.lua +++ b/server/test/diagnostics/init.lua @@ -49,7 +49,7 @@ end function TEST(script, ...) local new_script, target = catch_target(script, ...) local lsp = service() - local ast = parser:ast(new_script, 'lua', 'Lua 5.3') + local ast = parser:parse(new_script, 'lua', 'Lua 5.3') assert(ast) local lines = parser:lines(new_script) local vm = buildVM(ast, lsp, 'test') |