Improved the init command. Fixes #96.
This commit is contained in:
parent
dbd478bc20
commit
7d5428be19
4 changed files with 130 additions and 42 deletions
|
|
@ -86,6 +86,8 @@ proc cleanup() =
|
|||
# ensure everything can be called again:
|
||||
resetAllModulesHard()
|
||||
clearPasses()
|
||||
msgs.gErrorMax = 1
|
||||
msgs.writeLnHook = nil
|
||||
vm.globalCtx = nil
|
||||
initDefines()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue