summaryrefslogtreecommitdiff
path: root/script/brave/work.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-14 17:23:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-14 17:23:50 +0800
commit5a43c5f78a9d13b9d18ba58bd45c85e7521d9f08 (patch)
tree917ddbc7f5083a50c5af3ebec09cb16b746e0717 /script/brave/work.lua
parent2a29458c86628a2af20da4ebeb39a8f81d4ea53a (diff)
downloadlua-language-server-5a43c5f78a9d13b9d18ba58bd45c85e7521d9f08.zip
fix
Diffstat (limited to 'script/brave/work.lua')
-rw-r--r--script/brave/work.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/brave/work.lua b/script/brave/work.lua
index 907f78cf..ee7b4acd 100644
--- a/script/brave/work.lua
+++ b/script/brave/work.lua
@@ -26,12 +26,12 @@ brave.on('timer', function (time)
end)
brave.on('compile', function (text)
- local state, err = parser:compile(text, 'lua', 'Lua 5.4')
+ local state, err = parser.compile(text, 'lua', 'Lua 5.4')
if not state then
log.error(err)
return
end
- local lines = parser:lines(text)
+ local lines = parser.lines(text)
return {
root = state.root,
value = state.value,