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:
06e4583
)
[project @ 2001-10-03 08:16:49 by simonmar]
author
simonmar
<unknown>
Wed, 3 Oct 2001 08:16:49 +0000
(08:16 +0000)
committer
simonmar
<unknown>
Wed, 3 Oct 2001 08:16:49 +0000
(08:16 +0000)
Don't print the "compilation IS NOT required" in quiet mode (-v0).
ghc/compiler/main/HscMain.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/HscMain.lhs
b/ghc/compiler/main/HscMain.lhs
index
e9851e6
..
5da7b8d
100644
(file)
--- a/
ghc/compiler/main/HscMain.lhs
+++ b/
ghc/compiler/main/HscMain.lhs
@@
-161,7
+161,8
@@
hscNoRecomp ghci_mode dflags have_object
mod location (Just old_iface) hst hit pcs_ch
| ghci_mode == OneShot
= do {
- hPutStrLn stderr "compilation IS NOT required";
+ when (verbosity dflags > 0) $
+ hPutStrLn stderr "compilation IS NOT required";
let { bomb = panic "hscNoRecomp:OneShot" };
return (HscNoRecomp pcs_ch bomb bomb)
}