summaryrefslogtreecommitdiff
path: root/src/parser.mly
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.mly')
-rw-r--r--src/parser.mly3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser.mly b/src/parser.mly
index 2ab911ee..416d4d92 100644
--- a/src/parser.mly
+++ b/src/parser.mly
@@ -163,11 +163,12 @@ let make_vector_sugar typ typ1 =
%token <string> LtEqUnderUiI LtUnderSI LtUnderSiI LtUnderUI LtUnderUiI StarStarUnderSI StarStarUnderSiI StarUnderSI
%token <string> StarUnderSiI StarUnderUI StarUnderUiI TwoCarrotI
-%start file exp
+%start file exp semi_exps
%type <Parse_ast.defs> defs
%type <Parse_ast.atyp> typ
%type <Parse_ast.pat> pat
%type <Parse_ast.exp> exp
+%type <Parse_ast.exp list> semi_exps
%type <Parse_ast.defs> file