aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/HsParser.ly4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HsParser.ly b/src/HsParser.ly
index 4adbcef5..5ac3e4bc 100644
--- a/src/HsParser.ly
+++ b/src/HsParser.ly
@@ -1,5 +1,5 @@
-----------------------------------------------------------------------------
-$Id: HsParser.ly,v 1.19 2003/10/20 17:19:23 sof Exp $
+$Id: HsParser.ly,v 1.20 2004/04/20 13:08:04 simonmar Exp $
(c) Simon Marlow, Sven Panne 1997-2002
@@ -305,7 +305,7 @@ Top-Level Declarations
> | {- empty -} { [] }
> topdecl :: { HsDecl }
-> : 'type' simpletype srcloc '=' ctype
+> : 'type' simpletype srcloc '=' ctypedoc
> { HsTypeDecl $3 (fst $2) (snd $2) $5 Nothing }
> | 'data' ctype srcloc constrs deriving
> {% checkDataHeader $2 `thenP` \(cs,c,t) ->