fixes #1799
This commit is contained in:
parent
1c9f05ef13
commit
5206c310e6
2 changed files with 4 additions and 3 deletions
|
|
@ -158,7 +158,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}:
|
||||
if n.kind notin {nkEmpty..nkNilLit, nkEnumTy}:
|
||||
for i in countup(0, len(n)-1):
|
||||
result = genRecComment(d, n.sons[i])
|
||||
if result != nil: return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue