Change which files --make thinks are 'Haskellish' (#10220)
authorThomas Miedema <thomasmiedema@gmail.com>
Wed, 1 Apr 2015 17:22:28 +0000 (19:22 +0200)
committerThomas Miedema <thomasmiedema@gmail.com>
Wed, 1 Apr 2015 17:22:54 +0000 (19:22 +0200)
commit7cec6c7b2973b34c18da1c74c87cead33bb1bfd7
treebe99face836f135e843f758ff9eab09b6f122f93
parentd4cf7051bc17182238b17ba1dc42e190fa5c6f0d
Change which files --make thinks are 'Haskellish' (#10220)

`.hspp` and `.hscpp` are haskell files that have already been preprocessed.

Treat `.hspp` and `.hscpp` as Haskellish sources again, as they were before
commit a10e1990. This way, ghc --make will load their imports.

Make sure that `.cmm` and `.cmmcpp` are still not treated as Haskellish,
by moving them out of `haskell_src_suffixes` (but still keeping them in
haskellish_suffixes, though I'm not sure what the purpose of that group
is).

Reviewed By: austin

Differential Revision: https://phabricator.haskell.org/D778
compiler/main/DriverPhases.hs
ghc/Main.hs
testsuite/tests/driver/T10220.hspp [new file with mode: 0644]
testsuite/tests/driver/T10220B.hs [new file with mode: 0644]
testsuite/tests/driver/all.T