From 04bd0c36815b344a7859ea4682e5b484142f27f9 Mon Sep 17 00:00:00 2001 From: Simon Hafner Date: Fri, 8 Feb 2013 17:57:28 -0600 Subject: [PATCH] fix for exit code of compiler (JS bug?) --- compiler/nimrod.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim index 5b67a10ac4..dab261da78 100755 --- a/compiler/nimrod.nim +++ b/compiler/nimrod.nim @@ -77,4 +77,4 @@ when compileOption("gc", "v2"): GC_disableMarkAndSweep() condsyms.InitDefines() HandleCmdLine() -quit(options.gExitcode) +quit(int8(msgs.gErrorCounter > 0))