summaryrefslogtreecommitdiff
path: root/compiler/main/DriverPhases.hs
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-03-31 12:15:34 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-03-31 12:15:38 +0200
commitda17f99bc6b1e90432108d430d4be1c503d4b977 (patch)
tree5c9dcefebcadf2f8e76e7ad7edf20db59ab74ce6 /compiler/main/DriverPhases.hs
parent698186268d3846c9984798ab32f34f83f3c2337e (diff)
downloadhaskell-da17f99bc6b1e90432108d430d4be1c503d4b977.tar.gz
Don't treat .hcr and .raw_s as haskellish suffixes
.hcr: external core .raw_s: direct output from the c compiler, back in the day Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D777
Diffstat (limited to 'compiler/main/DriverPhases.hs')
-rw-r--r--compiler/main/DriverPhases.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/main/DriverPhases.hs b/compiler/main/DriverPhases.hs
index f1db9bc6ec..e3aaf698e0 100644
--- a/compiler/main/DriverPhases.hs
+++ b/compiler/main/DriverPhases.hs
@@ -280,8 +280,9 @@ haskellish_src_suffixes, haskellish_suffixes, cish_suffixes,
haskellish_user_src_suffixes, haskellish_sig_suffixes
:: [String]
haskellish_src_suffixes = haskellish_user_src_suffixes ++
- [ "hspp", "hscpp", "hcr", "cmm", "cmmcpp" ]
-haskellish_suffixes = haskellish_src_suffixes ++ ["hc", "raw_s"]
+ [ "hspp", "hscpp", "cmm", "cmmcpp" ]
+haskellish_suffixes = haskellish_src_suffixes ++
+ [ "hc" ]
cish_suffixes = [ "c", "cpp", "C", "cc", "cxx", "s", "S", "ll", "bc", "lm_s", "m", "M", "mm" ]
-- Will not be deleted as temp files:
haskellish_user_src_suffixes =