diff options
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r-- | script/parser/luadoc.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index 420e78cd..c4f40ac4 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -1661,6 +1661,9 @@ return function (state) end end + ast.docs.start = ast.start + ast.docs.finish = ast.finish + if #ast.docs == 0 then return end |