projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2000-11-28 11:37:14 by sewardj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
rename
/
RnHiFiles.lhs
diff --git
a/ghc/compiler/rename/RnHiFiles.lhs
b/ghc/compiler/rename/RnHiFiles.lhs
index
42240c1
..
2020749
100644
(file)
--- a/
ghc/compiler/rename/RnHiFiles.lhs
+++ b/
ghc/compiler/rename/RnHiFiles.lhs
@@
-501,7
+501,8
@@
readIface :: String -> RnM d (Either Message ParsedIface)
-- Nothing <=> file not found, or unreadable, or illegible
-- Just x <=> successfully found and parsed
readIface file_path
-- Nothing <=> file not found, or unreadable, or illegible
-- Just x <=> successfully found and parsed
readIface file_path
- = traceRn (ptext SLIT("readIFace") <+> text file_path) `thenRn_`
+ = --ioToRnM (putStrLn ("reading iface " ++ file_path)) `thenRn_`
+ traceRn (ptext SLIT("readIFace") <+> text file_path) `thenRn_`
ioToRnM (hGetStringBuffer False file_path) `thenRn` \ read_result ->
case read_result of {
ioToRnM (hGetStringBuffer False file_path) `thenRn` \ read_result ->
case read_result of {