mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
unneccessary since tjc's commit 78ec6fe30c, fixing #2804
This commit is contained in:
@@ -1629,7 +1629,6 @@ fn parse_prefix_expr(&self) -> @expr {
|
||||
self.bump();
|
||||
let e = self.parse_prefix_expr();
|
||||
hi = e.span.hi;
|
||||
self.get_id(); // see ast_util::op_expr_callee_id
|
||||
ex = expr_unary(not, e);
|
||||
}
|
||||
token::BINOP(b) => {
|
||||
@@ -1638,7 +1637,6 @@ fn parse_prefix_expr(&self) -> @expr {
|
||||
self.bump();
|
||||
let e = self.parse_prefix_expr();
|
||||
hi = e.span.hi;
|
||||
self.get_id(); // see ast_util::op_expr_callee_id
|
||||
ex = expr_unary(neg, e);
|
||||
}
|
||||
token::STAR => {
|
||||
@@ -1738,7 +1736,6 @@ fn parse_more_binops(&self, lhs: @expr, min_prec: uint) ->
|
||||
self.bump();
|
||||
let expr = self.parse_prefix_expr();
|
||||
let rhs = self.parse_more_binops(expr, cur_prec);
|
||||
self.get_id(); // see ast_util::op_expr_callee_id
|
||||
let bin = self.mk_expr(lhs.span.lo, rhs.span.hi,
|
||||
expr_binary(cur_op, lhs, rhs));
|
||||
self.parse_more_binops(bin, min_prec)
|
||||
@@ -1789,7 +1786,6 @@ fn parse_assign_expr(&self) -> @expr {
|
||||
token::SHL => aop = shl,
|
||||
token::SHR => aop = shr
|
||||
}
|
||||
self.get_id(); // see ast_util::op_expr_callee_id
|
||||
self.mk_expr(lo, rhs.span.hi,
|
||||
expr_assign_op(aop, lhs, rhs))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user