From 9fee07ae4d04b37bacf55fc4e2be9c80d1a6f58e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 18 Nov 2020 17:19:42 +0800 Subject: =?UTF-8?q?doc.return=20=E4=B9=9F=E6=8A=8A=20=3F=20=E5=86=99?= =?UTF-8?q?=E5=9C=A8=E5=89=8D=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script-beta/parser/luadoc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script-beta') diff --git a/script-beta/parser/luadoc.lua b/script-beta/parser/luadoc.lua index b9f7430f..dfb4b96a 100644 --- a/script-beta/parser/luadoc.lua +++ b/script-beta/parser/luadoc.lua @@ -577,11 +577,11 @@ local function parseReturn() if not result.start then result.start = docType.start end - docType.name = parseName('doc.return.name', docType) if checkToken('symbol', '?', 1) then nextToken() docType.optional = true end + docType.name = parseName('doc.return.name', docType) result.returns[#result.returns+1] = docType if not checkToken('symbol', ',', 1) then break -- cgit v1.2.3