From fd3d1113c91764d4044b83d8502e04a9726d58e2 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 26 Sep 2015 15:15:08 +0800 Subject: BNF - Top layer of libcore is parsing (all direct child modules) --- bnf/rust_expr.y_tree.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bnf/rust_expr.y_tree.h') 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 ; -- cgit v1.2.3