summaryrefslogtreecommitdiff
path: root/src/parse_ast.ml
diff options
context:
space:
mode:
authorJon French2018-06-11 17:49:32 +0100
committerJon French2018-06-11 17:49:32 +0100
commit2b159b297ab6e1f7118b0c094427aa708e1375b8 (patch)
treea69f7078072ada08389d85666eaa9382b3d57230 /src/parse_ast.ml
parent6b70f78c3c9477d4c5f417ed0a5d96abc19c9fb0 (diff)
add 'pat as id' mapping-patterns
Diffstat (limited to 'src/parse_ast.ml')
-rw-r--r--src/parse_ast.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse_ast.ml b/src/parse_ast.ml
index c31d548c..2848edc0 100644
--- a/src/parse_ast.ml
+++ b/src/parse_ast.ml
@@ -440,6 +440,7 @@ type mpat_aux = (* Mapping pattern. Mostly the same as normal patterns but only
| MP_cons of ( mpat) * ( mpat)
| MP_string_append of mpat list
| MP_typ of mpat * atyp
+ | MP_as of mpat * id
and mpat =
| MP_aux of ( mpat_aux) * l