X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FhsSyn%2FHsDecls.lhs;h=e9ee026cba17b6b4b7112a4ed099509ee22a6716;hb=8c839b096be9a3fd44f4f681ed7f14fd95fe8ff9;hp=d8e1a348b88ac3767e0dc8abaab22516b859ed4d;hpb=3afa01b9ff2006864e3ce4b4d960f0289a266ea2;p=ghc-hetmet.git diff --git a/compiler/hsSyn/HsDecls.lhs b/compiler/hsSyn/HsDecls.lhs index d8e1a34..e9ee026 100644 --- a/compiler/hsSyn/HsDecls.lhs +++ b/compiler/hsSyn/HsDecls.lhs @@ -645,10 +645,10 @@ instance (OutputableBndr name) type LForeignDecl name = Located (ForeignDecl name) data ForeignDecl name - = ForeignImport (Located name) (LHsType name) ForeignImport Bool -- defines name - | ForeignExport (Located name) (LHsType name) ForeignExport Bool -- uses name + = ForeignImport (Located name) (LHsType name) ForeignImport -- defines name + | ForeignExport (Located name) (LHsType name) ForeignExport -- uses name --- specification of an imported external entity in dependence on the calling +-- Specification Of an imported external entity in dependence on the calling -- convention -- data ForeignImport = -- import of a C entity @@ -698,10 +698,10 @@ data FoType = DNType -- In due course we'll add subtype stuff -- instance OutputableBndr name => Outputable (ForeignDecl name) where - ppr (ForeignImport n ty fimport _) = + ppr (ForeignImport n ty fimport) = ptext SLIT("foreign import") <+> ppr fimport <+> ppr n <+> dcolon <+> ppr ty - ppr (ForeignExport n ty fexport _) = + ppr (ForeignExport n ty fexport) = ptext SLIT("foreign export") <+> ppr fexport <+> ppr n <+> dcolon <+> ppr ty