fixes #5185
This commit is contained in:
parent
52c38f8535
commit
24a0927644
1 changed files with 1 additions and 0 deletions
|
|
@ -206,6 +206,7 @@ proc evalImport(c: PContext, n: PNode): PNode =
|
||||||
for x in it[2]:
|
for x in it[2]:
|
||||||
let f = renderTree(x, {renderNoComments})
|
let f = renderTree(x, {renderNoComments})
|
||||||
let a = newStrNode(nkStrLit, (dir & sep & f).replace(" "))
|
let a = newStrNode(nkStrLit, (dir & sep & f).replace(" "))
|
||||||
|
a.info = it.info
|
||||||
impMod(c, a)
|
impMod(c, a)
|
||||||
else:
|
else:
|
||||||
impMod(c, it)
|
impMod(c, it)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue