X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fparser%2FHaddockUtils.hs;h=abc31e1a9d144165e3b8781840c4a3dcfe9a451e;hb=d7b3ad9be373e02ea8b679d978f6ca898436892d;hp=124d542728021eb41e0d31c99f918239c2e9f804;hpb=7fc749a43b4b6b85d234fa95d4928648259584f4;p=ghc-hetmet.git diff --git a/compiler/parser/HaddockUtils.hs b/compiler/parser/HaddockUtils.hs index 124d542..abc31e1 100644 --- a/compiler/parser/HaddockUtils.hs +++ b/compiler/parser/HaddockUtils.hs @@ -47,8 +47,8 @@ parseModuleHeader str0 = Nothing -> Right Nothing Just description -> case parseHaddockString . tokenise $ description of - Left mess -> Left ("Cannot parse Description: " ++ mess) - Right doc -> Right (Just doc) + MyLeft mess -> Left ("Cannot parse Description: " ++ mess) + MyRight doc -> Right (Just doc) in case description1 of Left mess -> Left mess