diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-03-27 21:37:49 +0100 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-03-27 21:38:02 +0100 |
commit | abde5da4dee5f3b83264f8471e458b20d04f8b29 (patch) | |
tree | 579930296e4987588cfe2990cf098b901f2955e2 /ghc | |
parent | af45feba476af0b5a12f3a1ac36854f2cf44f993 (diff) | |
download | haskell-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.hs | 2 |
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 |