parent
5eea7d6e61
commit
80d129aa45
2 changed files with 13 additions and 1 deletions
|
@ -1234,7 +1234,12 @@ fn print_expr(s: ps, &&expr: @ast::expr) {
|
|||
print_block(s, blk);
|
||||
}
|
||||
ast::expr_copy(e) => { word_space(s, ~"copy"); print_expr(s, e); }
|
||||
ast::expr_unary_move(e) => { word_space(s, ~"move"); print_expr(s, e); }
|
||||
ast::expr_unary_move(e) => {
|
||||
popen(s);
|
||||
word_space(s, ~"move");
|
||||
print_expr(s, e);
|
||||
pclose(s);
|
||||
}
|
||||
ast::expr_move(lhs, rhs) => {
|
||||
print_expr(s, lhs);
|
||||
space(s.s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue