summary refs log tree commit diff
path: root/source/mod_student/parser.mly
diff options
context:
space:
mode:
Diffstat (limited to 'source/mod_student/parser.mly')
-rw-r--r--source/mod_student/parser.mly2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/mod_student/parser.mly b/source/mod_student/parser.mly
index f8a71eb..7f9174a 100644
--- a/source/mod_student/parser.mly
+++ b/source/mod_student/parser.mly
@@ -201,7 +201,7 @@ statement:
         { STMT_If {loc=mkLocation $startpos;cond=cond;then_branch=then_branch;
           else_branch=else_branch } }
     | head=option_var_decl COMMA tail=separated_nonempty_list(COMMA, option_var_decl) ASSIGN call=call
-        { STMT_MultiVarDecl {loc=mkLocation $startpos; vars= (*head::*)tail; init=call } }
+        { STMT_MultiVarDecl {loc=mkLocation $startpos; vars= head::tail; init=call } }
 return_stmt:
     | RETURN values=separated_list(COMMA,expression)
         { [STMT_Return { loc=mkLocation $startpos; values=values }] }