summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-06 23:54:20 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-06 23:54:20 +0800
commitd1fd05ec4b174693827cc4cae68a0cac2583c599 (patch)
tree226e3272f19a9074b5b7a008151d3cf99af3c865 /script
parenta3a62037f6063733e0627c16123df72a2ee7bec6 (diff)
downloadlua-language-server-d1fd05ec4b174693827cc4cae68a0cac2583c599.zip
fix
Diffstat (limited to 'script')
-rw-r--r--script/parser/luadoc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 13c34d16..f473feb1 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -1371,6 +1371,7 @@ local docSwitch = util.switch()
result.finish = op.finish
if checkToken('symbol', '(', 1) then
+ nextToken()
local exp = parseType(result)
if exp then
result.exp = exp