Skip to content

Commit b09ebe2

Browse files
committed
Updated cfg file processing
No longer look at deprecated file.cfg, compiler will only look at file.nimrod.cfg
1 parent dc0caf7 commit b09ebe2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

compiler/nimconf.nim

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,6 @@ proc LoadConfigs*(cfg: string) =
243243
readConfigFile(pd / cfg)
244244

245245
if gProjectName.len != 0:
246-
var conffile = changeFileExt(gProjectFull, "cfg")
247-
if conffile != pd / cfg and existsFile(conffile):
248-
readConfigFile(conffile)
249-
rawMessage(warnConfigDeprecated, conffile)
250-
251246
# new project wide config file:
252247
readConfigFile(changeFileExt(gProjectFull, "nimrod.cfg"))
253248

0 commit comments

Comments
 (0)