提交 5ccf056a 编写于 作者: K Keegan McAllister 提交者: Alex Crichton

Make parse_expr_res public

上级 26b2fa05
......@@ -2721,7 +2721,7 @@ pub fn parse_expr(&mut self) -> Gc<Expr> {
}
// 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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册