fixes #5383
This commit is contained in:
parent
95abf30fae
commit
97e26967f1
11 changed files with 60 additions and 17 deletions
|
|
@ -869,7 +869,10 @@ proc transform(c: PTransf, n: PNode): PTransNode =
|
|||
else:
|
||||
result = transformSons(c, n)
|
||||
of nkIdentDefs, nkConstDef:
|
||||
result = transformSons(c, n)
|
||||
result = n.PTransNode
|
||||
#transformSons(c, n)
|
||||
let L = n.len-1
|
||||
result[L] = transform(c, n.sons[L])
|
||||
# XXX comment handling really sucks:
|
||||
if importantComments():
|
||||
PNode(result).comment = n.comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue