about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-25 02:02:00 +0000
committerbors <bors@rust-lang.org>2014-06-25 02:02:00 +0000
commit91be86af0952aebb1f7c1811a6abcccd7bd1c26e (patch)
tree45fd08bfce0007e8e32453b94fd3229d1a13fba3 /src/libsyntax/parse/parser.rs
parent05ca9f747d62c9385cc142daa3c24a32d32a3f16 (diff)
parentcdccecb24f5c467282b73413494343d3848b4e5a (diff)
downloadrust-91be86af0952aebb1f7c1811a6abcccd7bd1c26e.tar.gz
rust-91be86af0952aebb1f7c1811a6abcccd7bd1c26e.zip
auto merge of #15163 : alexcrichton/rust/rollup, r=alexcrichton
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index e1319304e04..1cb09bb8d89 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -2721,7 +2721,7 @@ impl<'a> Parser<'a> {
     }
 
     // parse an expression, subject to the given restriction
-    fn parse_expr_res(&mut self, r: restriction) -> Gc<Expr> {
+    pub fn parse_expr_res(&mut self, r: restriction) -> Gc<Expr> {
         let old = self.restriction;
         self.restriction = r;
         let e = self.parse_assign_expr();