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.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 9ea99f39..2cde6bff 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -1787,6 +1787,10 @@ local function bindCommentsAndFields(binded)
if class then
class.bindSource = nil
end
+ if source then
+ doc.source = source
+ source.bindSource = doc
+ end
class = doc
bindCommentsToDoc(doc, comments)
comments = {}