[project @ 2002-07-05 20:30:38 by sof]
authorsof <unknown>
Fri, 5 Jul 2002 20:30:38 +0000 (20:30 +0000)
committersof <unknown>
Fri, 5 Jul 2002 20:30:38 +0000 (20:30 +0000)
isSourceFile: widened to also return True for .hc files

ghc/compiler/main/DriverPhases.hs

index 214cd36..0871562 100644 (file)
@@ -1,5 +1,5 @@
 -----------------------------------------------------------------------------
--- $Id: DriverPhases.hs,v 1.20 2002/07/05 16:15:14 sof Exp $
+-- $Id: DriverPhases.hs,v 1.21 2002/07/05 20:30:38 sof Exp $
 --
 -- GHC Driver
 --
@@ -122,5 +122,5 @@ isExtCore_file      = extcoreish_suffix     . getFileSuffix
 
 isSourceFile :: FilePath -> Bool
 isSourceFile   f    =
-   haskellish_src_file f ||
+   haskellish_file f ||
    cish_file   f