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:
ec6ae2b
)
[project @ 2005-05-24 14:19:09 by simonmar]
author
simonmar
<unknown>
Tue, 24 May 2005 14:19:09 +0000
(14:19 +0000)
committer
simonmar
<unknown>
Tue, 24 May 2005 14:19:09 +0000
(14:19 +0000)
If hsc_lang is HscNothing, produce an empty linkable.
ghc/compiler/main/DriverPipeline.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/DriverPipeline.hs
b/ghc/compiler/main/DriverPipeline.hs
index
125533b
..
ec70b8d
100644
(file)
--- a/
ghc/compiler/main/DriverPipeline.hs
+++ b/
ghc/compiler/main/DriverPipeline.hs
@@
-212,6
+212,9
@@
compile hsc_env msg_act mod_summary maybe_old_linkable old_iface mod_index nmods
#endif
Nothing -> panic "compile: no interpreted code"
+ HscNothing
+ -> return ([], ms_hs_date mod_summary)
+
-- We're in --make mode: finish the compilation pipeline.
_other
-> do runPipeline StopLn dflags (output_fn,Nothing) Persistent