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:
3f6e304
)
Follow PackageTarget changes in pprCEntity
author
Ben.Lippmeier@anu.edu.au
<unknown>
Sat, 2 Jan 2010 23:50:53 +0000
(23:50 +0000)
committer
Ben.Lippmeier@anu.edu.au
<unknown>
Sat, 2 Jan 2010 23:50:53 +0000
(23:50 +0000)
compiler/hsSyn/HsDecls.lhs
patch
|
blob
|
history
diff --git
a/compiler/hsSyn/HsDecls.lhs
b/compiler/hsSyn/HsDecls.lhs
index
273cc98
..
0312dcb
100644
(file)
--- a/
compiler/hsSyn/HsDecls.lhs
+++ b/
compiler/hsSyn/HsDecls.lhs
@@
-942,6
+942,8
@@
instance Outputable ForeignImport where
ptext (sLit "static") <+> pp_hdr <+> char '&' <> ppr lbl
pprCEntity (CFunction (StaticTarget lbl)) =
ptext (sLit "static") <+> pp_hdr <+> ppr lbl
+ pprCEntity (CFunction (PackageTarget lbl _)) =
+ ptext (sLit "static") <+> pp_hdr <+> ppr lbl
pprCEntity (CFunction (DynamicTarget)) =
ptext (sLit "dynamic")
pprCEntity (CWrapper) = ptext (sLit "wrapper")