summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-03-27 21:37:49 +0100
committerThomas Miedema <thomasmiedema@gmail.com>2015-03-27 21:38:02 +0100
commitabde5da4dee5f3b83264f8471e458b20d04f8b29 (patch)
tree579930296e4987588cfe2990cf098b901f2955e2 /ghc
parentaf45feba476af0b5a12f3a1ac36854f2cf44f993 (diff)
downloadhaskell-abde5da4dee5f3b83264f8471e458b20d04f8b29.tar.gz
Rename driver phases C(obj)cpp to C(obj)cplusplus
Before: Cpp = Pre-process C Ccpp = Compile C++ Cobjcpp = Compile Objective-C++ CmmCpp = Pre-process Cmm Quite confusing! This commit renames `Ccpp` to `Ccplusplus`, and `Cobjcpp` to `Cobjcplusplus`. The two letters `p-p` keep standing for `pre-processing` throughout the compiler. Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D756
Diffstat (limited to 'ghc')
-rw-r--r--ghc/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/Main.hs b/ghc/Main.hs
index da95ebfe28..a95382fb0d 100644
--- a/ghc/Main.hs
+++ b/ghc/Main.hs
@@ -653,7 +653,7 @@ doMake srcs = do
haskellish (f,Nothing) =
looksLikeModuleName f || isHaskellUserSrcFilename f || '.' `notElem` f
haskellish (_,Just phase) =
- phase `notElem` [ As True, As False, Cc, Cobjc, Cobjcpp, CmmCpp, Cmm
+ phase `notElem` [ As True, As False, Cc, Cobjc, Cobjcplusplus, CmmCpp, Cmm
, StopLn]
hsc_env <- GHC.getSession