Skip to content

Miscellaneous cleanup #5709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
unneccessary since tjc's commit 78ec6fe, fixing #2804
  • Loading branch information
jbclements committed Apr 10, 2013
commit 09bcd3837c6ae92ef91cb6a63f1b927a465ea89c
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