summaryrefslogtreecommitdiff
path: root/src/ast.ml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.ml')
-rw-r--r--src/ast.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ast.ml b/src/ast.ml
index 0d418afc..5444e580 100644
--- a/src/ast.ml
+++ b/src/ast.ml
@@ -364,7 +364,8 @@ and 'a opt_default =
Def_val_aux of 'a opt_default_aux * 'a annot
and 'a pexp_aux = (* Pattern match *)
- Pat_exp of 'a pat * 'a exp
+ Pat_exp of 'a pat * 'a exp
+| Pat_when of 'a pat * 'a exp * 'a exp
and 'a pexp =
Pat_aux of 'a pexp_aux * 'a annot