[project @ 2000-12-05 12:19:49 by rrt]
authorrrt <unknown>
Tue, 5 Dec 2000 12:19:49 +0000 (12:19 +0000)
committerrrt <unknown>
Tue, 5 Dec 2000 12:19:49 +0000 (12:19 +0000)
no_hs_main had become v_noHsMain, but I tried to reintroduce the old
version. Now hopefully fixed.

ghc/compiler/main/DriverFlags.hs
ghc/compiler/main/DriverPipeline.hs

index 08a2fbe..f474f6c 100644 (file)
@@ -1,5 +1,5 @@
 -----------------------------------------------------------------------------
--- $Id: DriverFlags.hs,v 1.25 2000/12/04 16:42:14 rrt Exp $
+-- $Id: DriverFlags.hs,v 1.26 2000/12/05 12:19:49 rrt Exp $
 --
 -- Driver flags
 --
@@ -194,7 +194,7 @@ static_flags =
 
        ------- Miscellaneous -----------------------------------------------
   ,  ( "no-link-chk"    , NoArg (return ()) ) -- ignored for backwards compat
-  ,  ( "no-hs-main"     , NoArg (writeIORef no_hs_main True) )
+  ,  ( "no-hs-main"     , NoArg (writeIORef v_noHsMain True) )
 
        ------- Output Redirection ------------------------------------------
   ,  ( "odir"          , HasArg (writeIORef v_Output_dir  . Just) )
index 68e1981..5c32153 100644 (file)
@@ -1,5 +1,5 @@
 -----------------------------------------------------------------------------
--- $Id: DriverPipeline.hs,v 1.37 2000/12/05 12:15:19 rrt Exp $
+-- $Id: DriverPipeline.hs,v 1.38 2000/12/05 12:19:49 rrt Exp $
 --
 -- GHC Driver
 --
@@ -653,8 +653,6 @@ run_phase SplitAs basename _suff _input_fn _output_fn
 -----------------------------------------------------------------------------
 -- Linking
 
-GLOBAL_VAR(no_hs_main, False, Bool)
-
 doLink :: [String] -> IO ()
 doLink o_files = do
     ln <- readIORef v_Pgm_l