summaryrefslogtreecommitdiff
path: root/src/parser.mly
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.mly')
-rw-r--r--src/parser.mly2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.mly b/src/parser.mly
index cf2d50a7..17bc56f1 100644
--- a/src/parser.mly
+++ b/src/parser.mly
@@ -1250,6 +1250,8 @@ scattered_clause:
def:
| fun_def
{ DEF_fundef $1 }
+ | map_def
+ { DEF_mapdef $1 }
| Fixity
{ let (prec, n, op) = $1 in DEF_fixity (prec, n, Id_aux (Id op, loc $startpos $endpos)) }
| val_spec_def