From 0b8dff1a4f22c27bea94fe7ae60c2b58a94e7245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 11 May 2021 11:24:11 +0800 Subject: fix --- script/parser/luadoc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/parser/luadoc.lua') diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index 3ab9f6a1..ae8e3f34 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -1012,7 +1012,7 @@ local function trimTailComment(text) end if comment:find '^%s*[\'"[]' then local result = grammar(nil, comment:gsub('^%s+', ''), 'string') - if result then + if result and result[1] then comment = result[1][1] end end -- cgit v1.2.3