Commit 3b513304 authored by simonpj's avatar simonpj

[project @ 2005-01-05 15:38:31 by simonpj]

Allow trailing semicolon in GADT constructor list
parent 19da321b
......@@ -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 }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment