rm obsolete for support from the compiler

This commit is contained in:
Daniel Micay
2013-08-03 23:51:29 -04:00
parent 1008945528
commit e7bb33aed8
20 changed files with 15 additions and 323 deletions

View File

@@ -1087,7 +1087,7 @@ pub fn print_call_post(s: @ps,
nbsp(s);
match blk.get().node {
// need to handle closures specifically
ast::expr_do_body(e) | ast::expr_loop_body(e) => {
ast::expr_do_body(e) => {
end(s); // we close our head box; closure
// will create it's own.
print_expr(s, e);
@@ -1338,9 +1338,6 @@ pub fn print_expr(s: @ps, expr: &ast::expr) {
// empty box to satisfy the close.
ibox(s, 0);
}
ast::expr_loop_body(body) => {
print_expr(s, body);
}
ast::expr_do_body(body) => {
print_expr(s, body);
}