Paren expression
This commit is contained in:
parent
e3c8753a4d
commit
1f7ae2e30f
@ -221,8 +221,10 @@ impl Parser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn paren_expr(&mut self) -> ParseResult<Expression> {
|
fn paren_expr(&mut self) -> ParseResult<Expression> {
|
||||||
|
expect!(self, LParen, "Expected LParen");
|
||||||
unimplemented!()
|
let expr = try!(self.expression());
|
||||||
|
expect!(self, RParen, "Expected LParen");
|
||||||
|
Ok(expr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user