summaryrefslogtreecommitdiff
path: root/ghc/Main.hs
diff options
context:
space:
mode:
authorAustin Seipp <as@hacks.yi.org>2011-04-03 23:02:17 -0500
committerAustin Seipp <as@hacks.yi.org>2011-04-03 23:02:17 -0500
commit9e27ad106ef7036f356475daa0412ad72b56067b (patch)
tree81c2a4ed8aeb043f475eeffcf0d3064144632b29 /ghc/Main.hs
parentbe895313ba42d0bff295a2d4dbc1c5b388a3e760 (diff)
downloadhaskell-9e27ad106ef7036f356475daa0412ad72b56067b.tar.gz
Teach GHC to compile objective-c files; trac #5025
Diffstat (limited to 'ghc/Main.hs')
-rw-r--r--ghc/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/Main.hs b/ghc/Main.hs
index da2a1f2329..9c993345bb 100644
--- a/ghc/Main.hs
+++ b/ghc/Main.hs
@@ -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