summaryrefslogtreecommitdiff
path: root/server-beta/src/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-11 21:24:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-11 21:24:53 +0800
commit4caf0cac1caf6e8567016424dfa103af27f097b7 (patch)
treea990c3a60403ea276c1bfa549d26c72141e614cc /server-beta/src/parser
parent025b80013795760483e75fc2487e439a0f62cfeb (diff)
downloadlua-language-server-4caf0cac1caf6e8567016424dfa103af27f097b7.zip
跨越 link
Diffstat (limited to 'server-beta/src/parser')
-rw-r--r--server-beta/src/parser/guide.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/parser/guide.lua b/server-beta/src/parser/guide.lua
index 1cc82143..9c0a6794 100644
--- a/server-beta/src/parser/guide.lua
+++ b/server-beta/src/parser/guide.lua
@@ -101,7 +101,7 @@ function m.getLiteral(obj)
return nil
end
---- 寻找所在函数
+--- 寻找父函数
function m.getParentFunction(obj)
for _ = 1, 1000 do
obj = obj.parent