diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-07-09 22:45:55 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-07-09 22:45:55 +0200 |
commit | 2247ddd12df9f8bf550d614d60d1072070f31ccb (patch) | |
tree | e06bbd0c0111644659cd9c5f06a0d8e099fc7d05 | |
parent | 5e82ffc8d560dd3b2b7bbda034e5436fb036c20d (diff) | |
download | Nim-2247ddd12df9f8bf550d614d60d1072070f31ccb.tar.gz |
make hint/warning work properly after Nimscript execution
-rw-r--r-- | compiler/scriptconfig.nim | 1 |
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 = {} |