make more tests green
This commit is contained in:
parent
97e26967f1
commit
aebe9d7d13
3 changed files with 11 additions and 6 deletions
|
|
@ -869,10 +869,12 @@ proc transform(c: PTransf, n: PNode): PTransNode =
|
|||
else:
|
||||
result = transformSons(c, n)
|
||||
of nkIdentDefs, nkConstDef:
|
||||
result = n.PTransNode
|
||||
#transformSons(c, n)
|
||||
let L = n.len-1
|
||||
result[L] = transform(c, n.sons[L])
|
||||
when true:
|
||||
result = transformSons(c, n)
|
||||
else:
|
||||
result = n.PTransNode
|
||||
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