From: simonmar Date: Wed, 8 Aug 2001 08:44:47 +0000 (+0000) Subject: [project @ 2001-08-08 08:44:47 by simonmar] X-Git-Tag: Approximately_9120_patches~1327 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=110a35dc422a67e79baf1e101a19284dc7168908;p=ghc-hetmet.git [project @ 2001-08-08 08:44:47 by simonmar] Nuke the "Compilation had errors" message again. --- diff --git a/ghc/compiler/main/Main.hs b/ghc/compiler/main/Main.hs index a62e332..9db7ba3 100644 --- a/ghc/compiler/main/Main.hs +++ b/ghc/compiler/main/Main.hs @@ -1,6 +1,6 @@ {-# OPTIONS -fno-warn-incomplete-patterns #-} ----------------------------------------------------------------------------- --- $Id: Main.hs,v 1.84 2001/08/07 10:54:01 simonmar Exp $ +-- $Id: Main.hs,v 1.85 2001/08/08 08:44:47 simonmar Exp $ -- -- GHC Driver program -- @@ -121,9 +121,7 @@ main = -- all error messages are propagated as exceptions handleDyn (\dyn -> case dyn of - PhaseFailed _phase code -> do - hPutStr stderr "\nCompilation had errors\n" - exitWith code + PhaseFailed _phase code -> exitWith code Interrupted -> exitWith (ExitFailure 1) _ -> do hPutStrLn stderr (show (dyn :: GhcException)) exitWith (ExitFailure 1)