summary refs log tree commit diff stats
path: root/compiler/nimconf.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-15 10:03:06 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-05-15 10:03:06 +0200
commitc73cd5349ef532e8ac323a05c98fab7cb5c12fa5 (patch)
tree92268ea411032c27517b60eadc0b4750d6189297 /compiler/nimconf.nim
parent5bf6ad9fa3a51e57ea7c0f9abb9d31e83cb140cf (diff)
downloadNim-c73cd5349ef532e8ac323a05c98fab7cb5c12fa5.tar.gz
documentation generator works again
Diffstat (limited to 'compiler/nimconf.nim')
-rw-r--r--compiler/nimconf.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nimconf.nim b/compiler/nimconf.nim
index 379d15ad6..6cb5bab0f 100644
--- a/compiler/nimconf.nim
+++ b/compiler/nimconf.nim
@@ -230,7 +230,7 @@ proc getSystemConfigPath(conf: ConfigRef; filename: string): string =
     if not existsFile(result): result = joinPath([p, "etc", filename])
     if not existsFile(result): result = "/etc/" & filename
 
-proc loadConfigs*(cfg: string; cache: IdentCache; conf: ConfigRef = nil) =
+proc loadConfigs*(cfg: string; cache: IdentCache; conf: ConfigRef) =
   setDefaultLibpath(conf)
 
   if optSkipConfigFile notin conf.globalOptions: