[commit: ghc] master: Don't treat .hcr and .raw_s as haskellish suffixes (da17f99)

git at git.haskell.org git at git.haskell.org
Tue Mar 31 10:15:57 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/da17f99bc6b1e90432108d430d4be1c503d4b977/ghc

>---------------------------------------------------------------

commit da17f99bc6b1e90432108d430d4be1c503d4b977
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Tue Mar 31 12:15:34 2015 +0200

    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


>---------------------------------------------------------------

da17f99bc6b1e90432108d430d4be1c503d4b977
 compiler/main/DriverPhases.hs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/compiler/main/DriverPhases.hs b/compiler/main/DriverPhases.hs
index f1db9bc..e3aaf69 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 =



More information about the ghc-commits mailing list