[commit: haddock] T6018-injective-type-families, adamse-D1033, ghc-head, master, metainfo, wip/10268, wip/10313, wip/D538, wip/D538-1, wip/D538-2, wip/D538-3, wip/D538-4, wip/D538-5, wip/D538-6, wip/D548-master, wip/D548-master-2, wip/T10483, wip/T9840, wip/api-annot-tweaks-7.10, wip/api-annots-ghc-7.10-3, wip/orf-reboot: parser: Try to parse definition lists right before text paragraphs (09323ec)

git at git.haskell.org git at git.haskell.org
Wed Jul 8 08:32:19 UTC 2015


Repository : ssh://git@git.haskell.org/haddock

On branches: T6018-injective-type-families,adamse-D1033,ghc-head,master,metainfo,wip/10268,wip/10313,wip/D538,wip/D538-1,wip/D538-2,wip/D538-3,wip/D538-4,wip/D538-5,wip/D538-6,wip/D548-master,wip/D548-master-2,wip/T10483,wip/T9840,wip/api-annot-tweaks-7.10,wip/api-annots-ghc-7.10-3,wip/orf-reboot
Link       : http://git.haskell.org/haddock.git/commitdiff/09323ec10f4213461cfc2712f3075673f681a3e2

>---------------------------------------------------------------

commit 09323ec10f4213461cfc2712f3075673f681a3e2
Author: Simon Hengel <sol at typeful.net>
Date:   Sun Nov 2 07:48:18 2014 +0800

    parser: Try to parse definition lists right before text paragraphs


>---------------------------------------------------------------

09323ec10f4213461cfc2712f3075673f681a3e2
 haddock-library/src/Documentation/Haddock/Parser.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/haddock-library/src/Documentation/Haddock/Parser.hs b/haddock-library/src/Documentation/Haddock/Parser.hs
index 94750ad..6aa6ad1 100644
--- a/haddock-library/src/Documentation/Haddock/Parser.hs
+++ b/haddock-library/src/Documentation/Haddock/Parser.hs
@@ -213,11 +213,11 @@ paragraph :: Parser (DocH mod Identifier)
 paragraph = examples <|> skipSpace *> (
       unorderedList
   <|> orderedList
-  <|> definitionList
   <|> birdtracks
   <|> codeblock
   <|> property
   <|> header
+  <|> definitionList
   <|> textParagraph
   )
 



More information about the ghc-commits mailing list