diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-04-28 19:56:28 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-04-28 19:56:28 +0800 |
commit | 6aa90f4667b8470fe80889e5fe0f9ab4f96ae86b (patch) | |
tree | d15ff1aba4439025522c6441080887afb4e3765b /script/parser | |
parent | 79979fede8d754ae12a21843f12e45b54acd24d0 (diff) | |
download | lua-language-server-6aa90f4667b8470fe80889e5fe0f9ab4f96ae86b.zip |
generic
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/ast.lua | 2 | ||||
-rw-r--r-- | script/parser/luadoc.lua | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/script/parser/ast.lua b/script/parser/ast.lua index 45801cf6..0a188da4 100644 --- a/script/parser/ast.lua +++ b/script/parser/ast.lua @@ -1454,7 +1454,7 @@ local Defs = { if func then local call = createCall(exp, func.finish + 1, exp.finish) call.node = func - call.start = func.start + call.start = inA func.next = call func.iterator = true values = { call } diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index 31a6af48..af5071b3 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -1145,6 +1145,7 @@ local function bindParamAndReturnIndex(binded) paramMap[param[1]] = paramIndex end end + func.docParamMap = paramMap end local returnIndex = 0 for _, doc in ipairs(binded) do |