Skip to content

Commit 3e7bedc

Browse files
committed
---
yaml --- r: 2945 b: refs/heads/master c: a177dc4 h: refs/heads/master i: 2943: 3f3608b v: v3
1 parent e2745d1 commit 3e7bedc

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 4b566fe7f9d9571c5933fd0dad18bf83d57dea5e
2+
refs/heads/master: a177dc485b57f3bbe003899b6da0aa84e4ce1afb

trunk/src/comp/front/extfmt.rs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ fn expand_syntax_ext(&ext_ctxt cx,
2929

3030
auto fmt = expr_to_str(cx, args.(0));
3131

32-
// log "Format string:";
33-
// log fmt;
32+
log "Format string:";
33+
log fmt;
3434

3535
auto pieces = parse_fmt_string(fmt);
3636
auto args_len = vec::len[@ast::expr](args);
@@ -465,6 +465,9 @@ fn pieces_to_expr(&ext_ctxt cx, common::span sp,
465465
}
466466
}
467467
}
468+
case (ty_octal) {
469+
log "type: octal";
470+
}
468471
}
469472
}
470473

@@ -487,9 +490,8 @@ fn pieces_to_expr(&ext_ctxt cx, common::span sp,
487490
+ "for the given format string");
488491
}
489492

490-
// TODO: Remove debug logging
491-
//log "Building conversion:";
492-
//log_conv(conv);
493+
log "Building conversion:";
494+
log_conv(conv);
493495

494496
auto arg_expr = args.(n);
495497
auto c_expr = make_new_conv(cx, fmt_sp, conv, arg_expr);
@@ -505,9 +507,6 @@ fn pieces_to_expr(&ext_ctxt cx, common::span sp,
505507
nargs, expected_nargs));
506508
}
507509

508-
// TODO: Remove this debug logging
509-
// log "dumping expanded ast:";
510-
// log pretty::print_expr(tmp_expr);
511510
ret tmp_expr;
512511
}
513512

0 commit comments

Comments
 (0)