Merge branch 'trac_5025' of https://github.com/thoughtpolice/ghc
[ghc-hetmet.git] / ghc / Main.hs
index da2a1f2..9c99334 100644 (file)
@@ -591,7 +591,7 @@ doMake srcs  = do
        haskellish (f,Nothing) = 
          looksLikeModuleName f || isHaskellSrcFilename f || '.' `notElem` f
        haskellish (_,Just phase) = 
-         phase `notElem` [As, Cc, CmmCpp, Cmm, StopLn]
+         phase `notElem` [As, Cc, Cobjc, CmmCpp, Cmm, StopLn]
 
     hsc_env <- GHC.getSession