Switch pretty printer to new vec syntax

This commit is contained in:
Marijn Haverbeke 2011-05-17 07:19:34 +02:00
parent 63cf381ca1
commit f7df3696de

View File

@ -396,10 +396,11 @@ fn print_expr(ps s, &@ast::expr expr) {
if (mut == ast::mut) {
wrd1(s, "mutable");
}
wrd(s.s, "vec");
popen(s);
wrd(s.s, "[");
pp::abox(s.s);
commasep_exprs(s, exprs);
pclose(s);
end(s.s);
wrd(s.s, "]");
}
case (ast::expr_tup(?exprs,_)) {
fn printElt(ps s, &ast::elt elt) {