Skip to content

Commit

Permalink
unneccessary since tjc's commit 78ec6fe, fixing rust-lang#2804
Browse files Browse the repository at this point in the history
  • Loading branch information
jbclements committed Apr 10, 2013
1 parent 2770047 commit 09bcd38
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libsyntax/parse/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,6 @@ pub impl Parser {
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) => {
Expand All @@ -1638,7 +1637,6 @@ pub impl Parser {
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 => {
Expand Down Expand Up @@ -1738,7 +1736,6 @@ pub impl Parser {
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)
Expand Down Expand Up @@ -1789,7 +1786,6 @@ pub impl Parser {
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))
}
Expand Down

0 comments on commit 09bcd38

Please sign in to comment.