@@ -425,7 +425,7 @@ pub fn print_type_ex(s: @ps, &&ty: @ast::Ty, print_colons: bool) {
425
425
}
426
426
print_type ( s, mt. ty ) ;
427
427
word ( s. s , ~" * ");
428
- word(s.s, fmt!(" %?" , v ) ) ;
428
+ print_expr(s, v );
429
429
word(s.s, ~" ] ") ;
430
430
}
431
431
ast:: ty_mac ( _) => {
@@ -1015,7 +1015,7 @@ pub fn print_mac(s: @ps, m: ast::mac) {
1015
1015
1016
1016
pub fn print_vstore(s: @ps, t: ast::vstore) {
1017
1017
match t {
1018
- ast::vstore_fixed(Some(i)) => word(s.s, fmt!(" %? ", i)),
1018
+ ast::vstore_fixed(Some(i)) => word(s.s, fmt!(" %u ", i)),
1019
1019
ast::vstore_fixed(None) => word(s.s, ~" _"),
1020
1020
ast::vstore_uniq => word(s.s, ~" ~") ,
1021
1021
ast:: vstore_box => word( s. s, ~"@"),
@@ -1028,7 +1028,7 @@ pub fn print_vstore(s: @ps, t: ast::vstore) {
1028
1028
1029
1029
pub fn print_expr_vstore(s: @ps, t: ast::expr_vstore) {
1030
1030
match t {
1031
- ast::expr_vstore_fixed(Some(i)) => word(s.s, fmt!(" %? ", i)),
1031
+ ast::expr_vstore_fixed(Some(i)) => word(s.s, fmt!(" %u ", i)),
1032
1032
ast::expr_vstore_fixed(None) => word(s.s, ~" _"),
1033
1033
ast::expr_vstore_uniq => word(s.s, ~" ~") ,
1034
1034
ast:: expr_vstore_box => word( s. s, ~"@"),
0 commit comments