diff options
Diffstat (limited to 'server/test/references/init.lua')
-rw-r--r-- | server/test/references/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/references/init.lua b/server/test/references/init.lua index d1eab422..44cd5ab0 100644 --- a/server/test/references/init.lua +++ b/server/test/references/init.lua @@ -38,7 +38,7 @@ function TEST(script) local finish = script:find('?>', 1, true) local pos = (start + finish) // 2 + 1 local new_script = script:gsub('<[!?]', ' '):gsub('[!?]>', ' ') - local ast = parser:ast(new_script, 'lua', 'Lua 5.3') + local ast = parser:parse(new_script, 'lua', 'Lua 5.3') assert(ast) local vm = buildVM(ast) assert(vm) |