fix for exit code of compiler (JS bug?)

This commit is contained in:
Simon Hafner
2013-02-08 17:57:28 -06:00
parent 9598d42882
commit 04bd0c3681

View File

@@ -77,4 +77,4 @@ when compileOption("gc", "v2"):
GC_disableMarkAndSweep()
condsyms.InitDefines()
HandleCmdLine()
quit(options.gExitcode)
quit(int8(msgs.gErrorCounter > 0))