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:
1a93895
)
Add accessors to 'Target' fields and haddockify.
author
Thomas Schilling
<nominolo@googlemail.com>
Mon, 6 Oct 2008 22:29:40 +0000
(22:29 +0000)
committer
Thomas Schilling
<nominolo@googlemail.com>
Mon, 6 Oct 2008 22:29:40 +0000
(22:29 +0000)
MERGE TO 6.10
compiler/main/HscTypes.lhs
patch
|
blob
|
history
diff --git
a/compiler/main/HscTypes.lhs
b/compiler/main/HscTypes.lhs
index
30362a8
..
94d0f9e
100644
(file)
--- a/
compiler/main/HscTypes.lhs
+++ b/
compiler/main/HscTypes.lhs
@@
-497,9
+497,11
@@
hscEPS hsc_env = readIORef (hsc_EPS hsc_env)
-- is for use in an IDE where the file hasn't been saved by
-- the user yet).
data Target = Target
- TargetId -- module or filename
- Bool -- object code allowed?
- (Maybe (StringBuffer,ClockTime)) -- in-memory text buffer?
+ { targetId :: TargetId -- ^ module or filename
+ , targetAllowObjCode :: Bool -- ^ object code allowed?
+ , targetContents :: Maybe (StringBuffer,ClockTime)
+ -- ^ in-memory text buffer?
+ }
data TargetId
= TargetModule ModuleName