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 375eb7d1..60ccc81f 100644
--- a/src/parser.mly
+++ b/src/parser.mly
@@ -1229,6 +1229,8 @@ mpat_string_append:
mpat:
| atomic_mpat
{ $1 }
+ | atomic_mpat As id
+ { mk_mpat (MP_as ($1, $3)) $startpos $endpos }
| atomic_mpat At mpat_concat
{ mk_mpat (MP_vector_concat ($1 :: $3)) $startpos $endpos }
| atomic_mpat ColonColon mpat