This commit is contained in:
Andreas Rumpf
2016-10-20 21:37:51 +02:00
parent 20ee65af6d
commit 13b68a12d3

View File

@@ -184,7 +184,7 @@ proc genRecComment(d: PDoc, n: PNode): Rope =
if n == nil: return nil
result = genComment(d, n).rope
if result == nil:
if n.kind notin {nkEmpty..nkNilLit, nkEnumTy}:
if n.kind notin {nkEmpty..nkNilLit, nkEnumTy, nkTupleTy}:
for i in countup(0, len(n)-1):
result = genRecComment(d, n.sons[i])
if result != nil: return