diff options
| author | Jon French | 2018-05-01 16:54:05 +0100 |
|---|---|---|
| committer | Jon French | 2018-05-01 16:59:26 +0100 |
| commit | 92bdfb613b35a913aee7e954b7f7a2d62b39d302 (patch) | |
| tree | 960d87755bd517005d40c5033085758aef6f1414 /src/parse_ast.ml | |
| parent | 1dc9f51dc547fc2a5f72095a49f49c540b96a71b (diff) | |
add type annotation patterns to mpats
Diffstat (limited to 'src/parse_ast.ml')
| -rw-r--r-- | src/parse_ast.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse_ast.ml b/src/parse_ast.ml index 3969663a..e59dd356 100644 --- a/src/parse_ast.ml +++ b/src/parse_ast.ml @@ -431,6 +431,7 @@ type mpat_aux = (* Mapping pattern. Mostly the same as normal patterns but only | MP_list of ( mpat) list | MP_cons of ( mpat) * ( mpat) | MP_string_append of ( mpat) * ( mpat) + | MP_typ of mpat * atyp and mpat = | MP_aux of ( mpat_aux) * l |
