diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-05-17 15:21:22 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-05-17 15:21:22 +0200 |
commit | bf6c2c5ccfd33cc8aab53b98dbce0619f8633d84 (patch) | |
tree | bafa67febeed93ac44278d593ca26b1cb22ea32d /compiler/importer.nim | |
parent | 2a7fc84c86c48c6ca6354c8c2f9232c3f1a0b049 (diff) | |
download | Nim-bf6c2c5ccfd33cc8aab53b98dbce0619f8633d84.tar.gz |
preparations of making compiler/msgs.nim free of global variables
Diffstat (limited to 'compiler/importer.nim')
-rw-r--r-- | compiler/importer.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/importer.nim b/compiler/importer.nim index 90e774a50..2dec05d66 100644 --- a/compiler/importer.nim +++ b/compiler/importer.nim @@ -143,8 +143,8 @@ proc myImportModule(c: PContext, n: PNode): PSym = var err = "" for i in countup(recursion, L-1): if i > recursion: err.add "\n" - err.add toFullPath(c.graph.importStack[i]) & " imports " & - toFullPath(c.graph.importStack[i+1]) + err.add toFullPath(c.config, c.graph.importStack[i]) & " imports " & + toFullPath(c.config, c.graph.importStack[i+1]) c.recursiveDep = err result = importModuleAs(c, n, gImportModule(c.graph, c.module, f, c.cache)) #echo "set back to ", L |