diff options
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] } |