Skip to content

Commit

Permalink
docgen: fixes nim-lang#9235 [backport]
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq authored and narimiran committed Oct 31, 2018
1 parent 2a6e42f commit 8bcfc16
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/docgen.nim
Expand Up @@ -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:
Expand Down

0 comments on commit 8bcfc16

Please sign in to comment.