projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lots of portability changes (#1405)
[ghc-hetmet.git]
/
compiler
/
parser
/
HaddockUtils.hs
diff --git
a/compiler/parser/HaddockUtils.hs
b/compiler/parser/HaddockUtils.hs
index
124d542
..
abc31e1
100644
(file)
--- 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
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
in
case description1 of
Left mess -> Left mess