summaryrefslogtreecommitdiff
path: root/bnf/rust_expr.y_tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'bnf/rust_expr.y_tree.h')
-rw-r--r--bnf/rust_expr.y_tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bnf/rust_expr.y_tree.h b/bnf/rust_expr.y_tree.h
index e7358e2f..26beb77c 100644
--- a/bnf/rust_expr.y_tree.h
+++ b/bnf/rust_expr.y_tree.h
@@ -62,7 +62,7 @@ _(expr_9)
/* 10: Cast */
_(expr_cast)
: _(expr_11)
- | _(expr_cast) RWD_as type { bnf_trace("expr:cast"); }
+ | _(expr_cast) RWD_as type_ele { bnf_trace("expr:cast"); }
;
/* 11: Times/Div/Modulo */
_(expr_11)
@@ -109,6 +109,6 @@ _(expr_value)
| '[' expr_list opt_comma ']'
| '[' expr ';' expr ']'
| MACRO tt_paren { bnf_trace("Expr macro invocation"); }
- | '|' pattern_list '|' expr
+ | '|' closure_arg_list '|' expr
| DOUBLEPIPE expr
;