From 762eb513114ce7dc5a4d1512a910112d1711db32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 29 Aug 2019 15:40:08 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0LuaParser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/test/full/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/test/full') 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) -- cgit v1.2.3