This commit is contained in:
Araq 2015-04-11 02:28:06 +02:00
commit d89a20cc1d
6 changed files with 54 additions and 2 deletions

View file

@ -503,6 +503,7 @@ proc gsub(g: var TSrcGen, n: PNode) =
proc hasCom(n: PNode): bool =
result = false
if n.isNil: return false
if n.comment != nil: return true
case n.kind
of nkEmpty..nkNilLit: discard