mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 06:43:52 +00:00
fixes #5185
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user