projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41435f6
)
[project @ 2001-10-22 14:47:37 by simonmar]
author
simonmar
<unknown>
Mon, 22 Oct 2001 14:47:37 +0000
(14:47 +0000)
committer
simonmar
<unknown>
Mon, 22 Oct 2001 14:47:37 +0000
(14:47 +0000)
oops, need to look for source files in mkdependHS mode too.
ghc/compiler/main/Finder.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/Finder.lhs
b/ghc/compiler/main/Finder.lhs
index
c90bb0f
..
d6e4c3c
100644
(file)
--- a/
ghc/compiler/main/Finder.lhs
+++ b/
ghc/compiler/main/Finder.lhs
@@
-73,7
+73,7
@@
maybeHomeModule mod_name is_source = do
-- package because we can compile these automatically. In one-shot
-- compilation mode we look for .hi files only.
std_exts
- | isCompManagerMode mode =
+ | isCompManagerMode mode || mode == DoMkDependHS =
[ ("hs", \ _ fName path -> mkHomeModuleLocn mod_name path fName)
, ("lhs", \ _ fName path -> mkHomeModuleLocn mod_name path fName)
]