fixes #2509
This commit is contained in:
parent
670367e13b
commit
d89a20cc1d
6 changed files with 54 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue