summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2015-09-30 11:43:59 -0700
committerAman Gupta <aman@tmm1.net>2015-09-30 11:43:59 -0700
commit87ab263d5218911335d83fddafddc090348290bd (patch)
tree59b970407595b3c38ea2fb4674f8ebf9b58a8844 /compiler
parent8450ee9d5998e12158b590120321760a8f4b85d9 (diff)
parentdd2225fe073c51cee144a06745c9b3ef620b2bbd (diff)
downloadNim-87ab263d5218911335d83fddafddc090348290bd.tar.gz
Merge remote-tracking branch 'origin/devel' into bitsize-pragma
Diffstat (limited to 'compiler')
-rw-r--r--compiler/scriptconfig.nim5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/scriptconfig.nim b/compiler/scriptconfig.nim
index aaa2486e5..22cd282fd 100644
--- a/compiler/scriptconfig.nim
+++ b/compiler/scriptconfig.nim
@@ -140,4 +140,7 @@ proc runNimScript*(scriptName: string) =
   # ensure we load 'system.nim' again for the real non-config stuff!
   resetAllModulesHard()
   vm.globalCtx = nil
-  initDefines()
+  # do not remove the defined symbols
+  #initDefines()
+  undefSymbol("nimscript")
+  undefSymbol("nimconfig")