finish migration to new compiler API

This commit is contained in:
Araq 2016-11-06 19:58:37 +01:00
commit a0670e9620

View file

@ -269,6 +269,8 @@ proc cleanup() =
compiler_options.command = ""
when declared(resetAllModulesHard):
resetAllModulesHard()
else:
resetSystemArtifacts()
clearPasses()
msgs.gErrorMax = 1
msgs.writeLnHook = nil