summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-19 17:27:55 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-19 17:27:55 +0800
commitcde57de5c3198de4a1faeea0451a353cb5ea5526 (patch)
treed118251578c2bc2685a54c8d760038ce44c9cb33
parent2450e9c8d9bf5cae3f162e0d5bc51c41bf624478 (diff)
downloadlua-language-server-cde57de5c3198de4a1faeea0451a353cb5ea5526.zip
update log
-rw-r--r--script/parser/guide.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index a9d832b2..725d4e1a 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -248,7 +248,7 @@ function m.getBlock(obj)
-- make stack
local stack = {}
for _ = 1, 10 do
- stack[#stack+1] = ('%s:%s'):format(obj.type, obj.start)
+ stack[#stack+1] = ('%s:%s'):format(obj.type, obj.finish)
obj = obj.parent
if not obj then
break