From 110a35dc422a67e79baf1e101a19284dc7168908 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 8 Aug 2001 08:44:47 +0000 Subject: [PATCH] [project @ 2001-08-08 08:44:47 by simonmar] Nuke the "Compilation had errors" message again. --- ghc/compiler/main/Main.hs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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) -- 1.7.10.4