summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 4512bc9e..fa1cc38b 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -915,7 +915,7 @@ end
local function buildLuaDoc(comment)
local text = comment.text
- local _, startPos = text:find('^%-%s*@')
+ local _, startPos = text:find('^%-?%s*@')
if not startPos then
return {
type = 'doc.comment',