From 5ccf056a024b0769d7adc22f57eda8d75ae07a58 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Mon, 23 Jun 2014 17:50:40 -0700 Subject: Make parse_expr_res public --- src/libsyntax/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/parse') 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 { + pub fn parse_expr_res(&mut self, r: restriction) -> Gc { let old = self.restriction; self.restriction = r; let e = self.parse_assign_expr(); -- cgit 1.4.1-3-g733a5