summary refs log tree commit diff stats
path: root/compiler/nimconf.nim
diff options
context:
space:
mode:
authorErik O'Leary <erik.m.oleary@gmail.com>2013-12-01 17:29:28 -0600
committerGrzegorz Adam Hankiewicz <gradha@imap.cc>2013-12-02 23:57:47 +0100
commite145231a1d24676da07731a3d57a72dbc62c42a4 (patch)
tree63bb21e891462c1a70a10630bb242886b06a1877 /compiler/nimconf.nim
parented0cb199095168d07850b3a08e966dcc3b94b531 (diff)
downloadNim-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.nim5
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"))