diff options
author | Erik O'Leary <erik.m.oleary@gmail.com> | 2013-12-01 17:29:28 -0600 |
---|---|---|
committer | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-12-02 23:57:47 +0100 |
commit | e145231a1d24676da07731a3d57a72dbc62c42a4 (patch) | |
tree | 63bb21e891462c1a70a10630bb242886b06a1877 /compiler/nimconf.nim | |
parent | ed0cb199095168d07850b3a08e966dcc3b94b531 (diff) | |
download | Nim-e145231a1d24676da07731a3d57a72dbc62c42a4.tar.gz |
Updated cfg file processing
No longer look at deprecated file.cfg, compiler will only look at file.nimrod.cfg
Diffstat (limited to 'compiler/nimconf.nim')
-rw-r--r-- | compiler/nimconf.nim | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/nimconf.nim b/compiler/nimconf.nim index 507812d9c..7ec566a01 100644 --- a/compiler/nimconf.nim +++ b/compiler/nimconf.nim @@ -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")) |