diff options
author | Araq <rumpf_a@web.de> | 2018-10-30 23:29:47 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-10-30 23:29:47 +0100 |
commit | c9e8b899edf0931639b49603e61d0b25be834bc1 (patch) | |
tree | 431fa0baf6eeac5e46403e9b51a5557846e93208 /compiler | |
parent | b138e897726949d3982c9f11c54f284f1ca44267 (diff) | |
download | Nim-c9e8b899edf0931639b49603e61d0b25be834bc1.tar.gz |
docgen: fixes #9235 [backport]
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/docgen.nim | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim index 4c4e68397..3dbc4fa58 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -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: |