summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-22 15:50:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-22 15:50:03 +0800
commit82c3b68c6b80f754aa9fc12a4f029eba237e2807 (patch)
tree7426eca82af208e643b57a872811e144607daba2 /script/parser
parente7c4777ace613736d101927ccc6f5c877f89a611 (diff)
downloadlua-language-server-82c3b68c6b80f754aa9fc12a4f029eba237e2807.zip
fix
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/compile.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/compile.lua b/script/parser/compile.lua
index 6748b5ea..446f181b 100644
--- a/script/parser/compile.lua
+++ b/script/parser/compile.lua
@@ -2349,6 +2349,7 @@ local function parseFunction(isLocal, isAction)
func.finish = endRight
Index = Index + 2
else
+ func.finish = lastRightPosition()
missEnd(funcLeft, funcRight)
end
LocalCount = LastLocalCount