Commit 2d9fb52b authored by Timothy Bourke's avatar Timothy Bourke Committed by Gwenaël Delaval

Fix a mistake in new when patterns

parent 4dadf6b4
......@@ -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 */ { [] }
......
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