Skip to content

Commit

Permalink
Make parse_expr_res public
Browse files Browse the repository at this point in the history
  • Loading branch information
Keegan McAllister authored and alexcrichton committed Jun 25, 2014
1 parent 26b2fa0 commit 5ccf056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/parse/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5ccf056

Please sign in to comment.