aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/HaddockParse.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/HaddockParse.y b/src/HaddockParse.y
index 6e0f8b6f..5236cf58 100644
--- a/src/HaddockParse.y
+++ b/src/HaddockParse.y
@@ -40,7 +40,8 @@ ulpara :: { ParsedDoc }
olpara :: { ParsedDoc }
: '(n)' para { $2 }
-para : seq { docParagraph $1 }
+para :: { ParsedDoc }
+ : seq { docParagraph $1 }
seq :: { ParsedDoc }
: elem seq { DocAppend $1 $2 }