aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-05-06 12:29:26 +0000
committersimonmar <unknown>2002-05-06 12:29:26 +0000
commit7b8fa8e753411a00bd76525ef3acab457579193f (patch)
tree648b67c6dc99eebe9c7ee4e56360588648e27ecc
parente6c08703326b114564531a615a3c429e794a7ce7 (diff)
[haddock @ 2002-05-06 12:29:26 by simonmar]
Add missing type signature (a different workaround for the bug in GHC's simplifier).
-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 }