NimScript: --define works as expected
This commit is contained in:
parent
980db2f440
commit
d80f163384
3 changed files with 8 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue