diff options
author | simonmar <unknown> | 2002-05-06 13:32:32 +0000 |
---|---|---|
committer | simonmar <unknown> | 2002-05-06 13:32:32 +0000 |
commit | 68f8a896da9347f427199378b4986e899a67247c (patch) | |
tree | 2488afbf109a13e59e8596156d67cf3c38a911fe /src | |
parent | 8e0059afd927927142cd672944de47d9e999dee3 (diff) |
[haddock @ 2002-05-06 13:32:32 by simonmar]
Be more lenient about extra paragraph breaks
Diffstat (limited to 'src')
-rw-r--r-- | src/HaddockParse.y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/HaddockParse.y b/src/HaddockParse.y index 5236cf58..a406f3e4 100644 --- a/src/HaddockParse.y +++ b/src/HaddockParse.y @@ -27,7 +27,9 @@ import HaddockTypes doc :: { ParsedDoc } : apara PARA doc { docAppend $1 $3 } + | PARA doc { $2 } | apara { $1 } + | {- empty -} { DocEmpty } apara :: { ParsedDoc } : ulpara { DocUnorderedList [$1] } |