Updated cfg file processing

No longer look at deprecated file.cfg, compiler will only look at
file.nimrod.cfg
This commit is contained in:
Erik O'Leary
2013-12-01 17:29:28 -06:00
committed by Grzegorz Adam Hankiewicz
parent ed0cb19909
commit e145231a1d

View File

@@ -243,11 +243,6 @@ proc LoadConfigs*(cfg: string) =
readConfigFile(pd / cfg)
if gProjectName.len != 0:
var conffile = changeFileExt(gProjectFull, "cfg")
if conffile != pd / cfg and existsFile(conffile):
readConfigFile(conffile)
rawMessage(warnConfigDeprecated, conffile)
# new project wide config file:
readConfigFile(changeFileExt(gProjectFull, "nimrod.cfg"))