[project @ 2001-12-04 16:42:06 by sof]
authorsof <unknown>
Tue, 4 Dec 2001 16:42:06 +0000 (16:42 +0000)
committersof <unknown>
Tue, 4 Dec 2001 16:42:06 +0000 (16:42 +0000)
genPipeLine: DoMkDll didn't have a stop_phase, causing any use of
--mk-dll to fall over.

MERGE TO STABLE.

ghc/compiler/main/DriverPipeline.hs

index ec85815..44dbe50 100644 (file)
@@ -84,7 +84,7 @@ getGhcMode flags
        ([(flag,one)], rest) -> return (rest, one, flag)
        (_    , _   ) -> 
          throwDyn (UsageError 
-               "only one of the flags -M, -E, -C, -S, -c, --make, --interactive, -mk-dll is allowed")
+               "only one of the flags -M, -E, -C, -S, -c, --make, --interactive, --mk-dll is allowed")
 
 -----------------------------------------------------------------------------
 -- genPipeline
@@ -195,6 +195,7 @@ genPipeline todo stop_flag persistent_output lang (filename,suffix)
                        StopBefore phase      -> phase
                        DoMkDependHS          -> Ln
                        DoLink                -> Ln
+                       DoMkDLL               -> Ln
    ----------- -----  ----   ---   --   --  -  -  -
 
        -- this shouldn't happen.