summaryrefslogtreecommitdiff
path: root/bnf/rust_expr.y_tree.h
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2015-09-26 22:39:25 +0800
committerJohn Hodge <tpg@mutabah.net>2015-09-26 22:39:25 +0800
commitbe427e449c1d492050279311ccecc3de8b17e838 (patch)
treea2b6f2e3fbdef2ae003700578c339da8559ea2ca /bnf/rust_expr.y_tree.h
parent0121cefaec3f14a5f35ac84321787e01849585e0 (diff)
downloadmrust-be427e449c1d492050279311ccecc3de8b17e838.tar.gz
BNF - Improvements, partially parsing std now
Diffstat (limited to 'bnf/rust_expr.y_tree.h')
-rw-r--r--bnf/rust_expr.y_tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bnf/rust_expr.y_tree.h b/bnf/rust_expr.y_tree.h
index 0687790d..82707da9 100644
--- a/bnf/rust_expr.y_tree.h
+++ b/bnf/rust_expr.y_tree.h
@@ -12,6 +12,7 @@ _(expr_range)
| _(expr_range_n) DOUBLEDOT
| DOUBLEDOT _(expr_range_n)
| _(expr_range_n) DOUBLEDOT _(expr_range_n)
+ | DOUBLEDOT
;
_(expr_range_n): _(expr_bor);
@@ -82,6 +83,7 @@ _(expr_12)
| '&' RWD_mut _(expr_12)
| DOUBLEAMP _(expr_12) { }
| DOUBLEAMP RWD_mut _(expr_12) { }
+ | RWD_box _(expr)
;
_(expr_fc)