summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-07-09 22:45:55 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-07-09 22:45:55 +0200
commit2247ddd12df9f8bf550d614d60d1072070f31ccb (patch)
treee06bbd0c0111644659cd9c5f06a0d8e099fc7d05
parent5e82ffc8d560dd3b2b7bbda034e5436fb036c20d (diff)
downloadNim-2247ddd12df9f8bf550d614d60d1072070f31ccb.tar.gz
make hint/warning work properly after Nimscript execution
-rw-r--r--compiler/scriptconfig.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/scriptconfig.nim b/compiler/scriptconfig.nim
index dcb92227d..1d34cd2be 100644
--- a/compiler/scriptconfig.nim
+++ b/compiler/scriptconfig.nim
@@ -155,3 +155,4 @@ proc runNimScript*(scriptName: string; freshDefines=true) =
   #initDefines()
   undefSymbol("nimscript")
   undefSymbol("nimconfig")
+  gMainPackageNotes = {}