[project @ 2001-08-07 10:54:01 by simonmar]
[ghc-hetmet.git] / ghc / compiler / main / Main.hs
index 930735e..a62e332 100644 (file)
@@ -1,6 +1,6 @@
 {-# OPTIONS -fno-warn-incomplete-patterns #-}
 -----------------------------------------------------------------------------
--- $Id: Main.hs,v 1.82 2001/08/03 20:40:43 sof Exp $
+-- $Id: Main.hs,v 1.84 2001/08/07 10:54:01 simonmar Exp $
 --
 -- GHC Driver program
 --
@@ -114,10 +114,8 @@ main =
   handle (\exception -> do
           case exception of
                -- an IO exception probably isn't our fault, so don't panic
-               IOException _   ->  hPutStr stderr (show exception)
-                 -- let exit exceptions bubble all the way out.
-               ExitException e ->  exitWith e
-               _other          ->  hPutStr stderr (show (Panic (show exception)))
+               IOException _ ->  hPutStr stderr (show exception)
+               _other        ->  hPutStr stderr (show (Panic (show exception)))
           exitWith (ExitFailure 1)
          ) $ do