docgen: fixes #9235 [backport]

This commit is contained in:
Araq
2018-10-30 23:29:47 +01:00
parent b138e89772
commit c9e8b899ed

View File

@@ -730,7 +730,6 @@ proc exportSym(d: PDoc; s: PSym) =
rope changeFileExt(external, "html")])
proc generateDoc*(d: PDoc, n, orig: PNode) =
if orig.info.fileIndex != n.info.fileIndex: return
case n.kind
of nkCommentStmt: add(d.modDesc, genComment(d, n))
of nkProcDef: