Permalink
Browse files

Bug in indexer removed: extracting the methods from a class did not w…

…ork for haddock-2.8 docs

both sources in crawl2 and in Hayoo subdir are corrected
  • Loading branch information...
1 parent e8d3fa7 commit 8b70048137c56f2f06868cb4a691d0b5a5a48764 Theo Lingen committed Apr 14, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 Hayoo/src/Hayoo/Haddock.hs
  2. +2 −2 crawl2/examples/hayoo/Hayoo/Haddock.hs
@@ -263,8 +263,8 @@ mkVirtualDoc28 rt = (getModule <+> getDecls)
>>>
scanRegexA
( mkSeq
- (mkPrimA $ hasName "p")
- (mkPrimA $ hasName "div")
+ ( mkPrimA $ hasName "p")
+ (mkOpt $ mkPrimA $ hasName "div")
)
( getChildren
>>>
@@ -263,8 +263,8 @@ mkVirtualDoc28 rt = (getModule <+> getDecls)
>>>
scanRegexA
( mkSeq
- (mkPrimA $ hasName "p")
- (mkPrimA $ hasName "div")
+ ( mkPrimA $ hasName "p")
+ (mkOpt $ mkPrimA $ hasName "div")
)
( getChildren
>>>

0 comments on commit 8b70048

Please sign in to comment.