diff options
author | Araq <rumpf_a@web.de> | 2018-12-16 20:34:07 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-12-16 20:34:07 +0100 |
commit | 9526009e0eb89b3ce2b881cb35384f9b3ef1e02c (patch) | |
tree | 7fa70a6c63372a27ca2fdb41f752a4ba165b5df9 /compiler | |
parent | d91d1865b88409ba7fc307505eff69c156d74d52 (diff) | |
download | Nim-9526009e0eb89b3ce2b881cb35384f9b3ef1e02c.tar.gz |
fixes #9120
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/cmdlinehelper.nim | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/compiler/cmdlinehelper.nim b/compiler/cmdlinehelper.nim index a15d622a0..e1824316a 100644 --- a/compiler/cmdlinehelper.nim +++ b/compiler/cmdlinehelper.nim @@ -48,16 +48,6 @@ proc loadConfigsAndRunMainCommand*(self: NimProg, cache: IdentCache; conf: Confi if self.suggestMode: conf.command = "nimsuggest" - when false: - # These defines/options should not be enabled while processing nimscript - # bug #9420 - undefSymbol(conf.symbols, "profiler") - undefSymbol(conf.symbols, "memProfiler") - undefSymbol(conf.symbols, "nodejs") - - # bug #9120 - conf.globalOptions.excl(optTaintMode) - template runNimScriptIfExists(path: AbsoluteFile) = let p = path # eval once if fileExists(p): |