projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2005-01-05 15:38:31 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
parser
/
Parser.y.pp
diff --git
a/ghc/compiler/parser/Parser.y.pp
b/ghc/compiler/parser/Parser.y.pp
index
8305022
..
c8a5825
100644
(file)
--- a/
ghc/compiler/parser/Parser.y.pp
+++ b/
ghc/compiler/parser/Parser.y.pp
@@
-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 }