Make parse_expr_res public
This commit is contained in:
parent
26b2fa052f
commit
5ccf056a02
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue