summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-27 16:47:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-27 16:47:53 +0800
commit90c1af3201eda540e1177ae11d105eb110adae92 (patch)
treed6300f2fa085d41fcbad542a8e6f683f28baa6a0
parentd97cc79697ab8c59e340cd9b85a29ad122e370c2 (diff)
downloadlua-language-server-90c1af3201eda540e1177ae11d105eb110adae92.zip
fix
-rw-r--r--script/parser/newparser.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua
index 1b02a5d9..07e7c11e 100644
--- a/script/parser/newparser.lua
+++ b/script/parser/newparser.lua
@@ -1595,7 +1595,7 @@ local function parseTable()
break
::CONTINUE::
end
- tbl.finish = getPosition(Tokens[Index - 2], 'right')
+ tbl.finish = lastRightPosition()
return tbl
end