[project @ 2005-01-05 15:38:31 by simonpj]
[ghc-hetmet.git] / ghc / compiler / parser / Parser.y.pp
index 8305022..c8a5825 100644 (file)
@@ -873,6 +873,7 @@ gadt_constrlist :: { Located [LConDecl RdrName] }
 
 gadt_constrs :: { Located [LConDecl RdrName] }
         : gadt_constrs ';' gadt_constr  { LL ($3 : unLoc $1) }
+        | gadt_constrs ';'             { $1 }
         | gadt_constr                   { L1 [$1] } 
 
 gadt_constr :: { LConDecl RdrName }