diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-05-11 15:28:26 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-05-11 15:28:26 +0200 |
commit | 3c4ceea4272a8e9d817e16e71581f8fa15460a34 (patch) | |
tree | 12644c95f91c57118463c45d9af465dcd3b5a720 /compiler/rodread.nim | |
parent | a8a544a8f716f98a8f20cd3baea5291d0de72a16 (diff) | |
download | Nim-3c4ceea4272a8e9d817e16e71581f8fa15460a34.tar.gz |
move more global variables into ConfigRef
Diffstat (limited to 'compiler/rodread.nim')
-rw-r--r-- | compiler/rodread.nim | 2 |
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") |