about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2014-06-23 17:50:40 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-06-24 17:23:21 -0700
commit5ccf056a024b0769d7adc22f57eda8d75ae07a58 (patch)
tree6c07b41c0d36350f3b2a67fa6a35d05cb771f570 /src/libsyntax/parse/parser.rs
parent26b2fa052fd25483c73709981deaa78f60cc6ac4 (diff)
downloadrust-5ccf056a024b0769d7adc22f57eda8d75ae07a58.tar.gz
rust-5ccf056a024b0769d7adc22f57eda8d75ae07a58.zip
Make parse_expr_res public
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();