diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-05-05 18:47:29 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-05-05 18:47:29 +0200 |
commit | b7116a28eea13f4fd82b8b22323f2f75c813794f (patch) | |
tree | 9dff3b1d346a54aaed204118b8cf3692986867e7 /compiler/nimconf.nim | |
parent | eef12654bd896df9b1219ea4bbd6381ccb920e58 (diff) | |
download | Nim-b7116a28eea13f4fd82b8b22323f2f75c813794f.tar.gz |
compiler refactoring, pass config around explicitly
Diffstat (limited to 'compiler/nimconf.nim')
-rw-r--r-- | compiler/nimconf.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nimconf.nim b/compiler/nimconf.nim index bdf558134..dc8d082b3 100644 --- a/compiler/nimconf.nim +++ b/compiler/nimconf.nim @@ -205,7 +205,7 @@ proc readConfigFile(filename: string; cache: IdentCache; config: ConfigRef) = stream = llStreamOpen(filename, fmRead) if stream != nil: initToken(tok) - openLexer(L, filename, stream, cache) + openLexer(L, filename, stream, cache, config) tok.tokType = tkEof # to avoid a pointless warning confTok(L, tok, config) # read in the first token while tok.tokType != tkEof: parseAssignment(L, tok, config) |