X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fparser%2FHaddockUtils.hs;h=abc31e1a9d144165e3b8781840c4a3dcfe9a451e;hp=124d542728021eb41e0d31c99f918239c2e9f804;hb=1168a37f6bfad3d7025ecb21b9917799937936f3;hpb=536eaecd1071cfd25e0384b10ed9b72f98b21f46 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