Fix a mistake in new when patterns

This commit is contained in:
Timothy Bourke 2017-02-14 21:10:32 +01:00 committed by Gwenaël Delaval
parent 4dadf6b4d6
commit 2d9fb52bec

View file

@ -371,9 +371,8 @@ on_ck:
when_ck:
| x=IDENT { Cwhen(Q Initial.ptrue,x) }
| NOT x=IDENT { Cwhen(Q Initial.pfalse,x) }
| c=constructor_or_bool LPAREN x=IDENT RPAREN { Cwhen(c,x) }
| b=ck x=IDENT { Cwhen(Q Initial.ptrue,x) }
| b=ck NOT x=IDENT { Cwhen(Q Initial.pfalse,x) }
equs:
| /* empty */ { [] }