{-# OPTIONS -fno-warn-incomplete-patterns #-}
-----------------------------------------------------------------------------
--- $Id: Main.hs,v 1.48 2001/01/19 15:26:37 simonmar Exp $
+-- $Id: Main.hs,v 1.50 2001/02/12 13:33:46 simonmar Exp $
--
-- GHC Driver program
--
later (do forget_it <- readIORef v_Keep_tmp_files
unless forget_it $ do
verb <- dynFlag verbosity
- cleanTempFiles (verb >= 2)
+ cleanTempFiles verb
) $ do
-- exceptions will be blocked while we clean the temporary files,
-- so there shouldn't be any difficulty if we receive further
beginInteractive :: [String] -> IO ()
#ifndef GHCI
-beginInteractive = throwDyn (OtherError "not build for interactive use")
+beginInteractive = throwDyn (OtherError "not built for interactive use")
#else
beginInteractive mods
= do state <- cmInit Interactive