diff options
author | John Hodge <tpg@mutabah.net> | 2015-09-26 15:15:08 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-09-26 15:15:08 +0800 |
commit | fd3d1113c91764d4044b83d8502e04a9726d58e2 (patch) | |
tree | f654240136a9e9f6e8d0750df83e7005e34fd152 /bnf/rust_expr.y_tree.h | |
parent | 3828791d2c2d94b7751efb5ec9ec4d9a31b15b71 (diff) | |
download | mrust-fd3d1113c91764d4044b83d8502e04a9726d58e2.tar.gz |
BNF - Top layer of libcore is parsing (all direct child modules)
Diffstat (limited to 'bnf/rust_expr.y_tree.h')
-rw-r--r-- | bnf/rust_expr.y_tree.h | 4 |
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 ; |