summary refs log tree commit diff stats
path: root/compiler/rodread.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-11 15:28:26 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-05-11 15:28:26 +0200
commit3c4ceea4272a8e9d817e16e71581f8fa15460a34 (patch)
tree12644c95f91c57118463c45d9af465dcd3b5a720 /compiler/rodread.nim
parenta8a544a8f716f98a8f20cd3baea5291d0de72a16 (diff)
downloadNim-3c4ceea4272a8e9d817e16e71581f8fa15460a34.tar.gz
move more global variables into ConfigRef
Diffstat (limited to 'compiler/rodread.nim')
-rw-r--r--compiler/rodread.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rodread.nim b/compiler/rodread.nim
index c7fea2947..f62c24dfd 100644
--- a/compiler/rodread.nim
+++ b/compiler/rodread.nim
@@ -918,7 +918,7 @@ proc handleSymbolFile*(module: PSym; cache: IdentCache; conf: ConfigRef): PRodRe
   if gSymbolFiles in {disabledSf, writeOnlySf, v2Sf}:
     module.id = getID()
     return nil
-  idgen.loadMaxIds(conf, options.gProjectPath / options.gProjectName)
+  idgen.loadMaxIds(conf, conf.projectPath / conf.projectName)
   let fileIdx = module.fileIdx
   discard checkDep(fileIdx, cache, conf)
   #if gMods[fileIdx.int32].reason == rrEmpty: internalError("handleSymbolFile")