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:
8b6faba
)
[project @ 2005-04-13 14:44:51 by simonmar]
author
simonmar
<unknown>
Wed, 13 Apr 2005 14:44:51 +0000
(14:44 +0000)
committer
simonmar
<unknown>
Wed, 13 Apr 2005 14:44:51 +0000
(14:44 +0000)
preprocessFile: return the source filename rather than "<buffer>"
ghc/compiler/main/GHC.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/GHC.hs
b/ghc/compiler/main/GHC.hs
index
d907884
..
5c8a5b8
100644
(file)
--- a/
ghc/compiler/main/GHC.hs
+++ b/
ghc/compiler/main/GHC.hs
@@
-1402,7
+1402,7
@@
preprocessFile dflags src_fn (Just (buf, time))
when needs_preprocessing $
ghcError (ProgramError "buffer needs preprocesing; interactive check disabled")
- return (dflags', "<buffer>", buf)
+ return (dflags', src_fn, buf)
-----------------------------------------------------------------------------