diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/parser/luadoc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index 1645487d..02b23d16 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -1152,7 +1152,7 @@ local function buildLuaDoc(comment) if cstart and cstart < comment.finish then result.comment = { type = 'doc.tailcomment', - start = cstart + comment.start - 1, + start = cstart + comment.start, finish = comment.finish, text = trimTailComment(text:sub(cstart)), } |