This commit is contained in:
Andreas Rumpf
2017-02-08 23:04:20 +01:00
parent 52c38f8535
commit 24a0927644

View File

@@ -206,6 +206,7 @@ proc evalImport(c: PContext, n: PNode): PNode =
for x in it[2]:
let f = renderTree(x, {renderNoComments})
let a = newStrNode(nkStrLit, (dir & sep & f).replace(" "))
a.info = it.info
impMod(c, a)
else:
impMod(c, it)