rustc: fix a pp bug.

This commit is contained in:
Graydon Hoare 2013-07-30 16:04:04 -07:00
parent c29e9fb60b
commit e5b0f1d132

View file

@ -1231,6 +1231,7 @@ pub fn print_expr(s: @ps, expr: &ast::expr) {
ast::expr_for_loop(pat, iter, ref blk) => {
head(s, "foreach");
print_pat(s, pat);
space(s.s);
word_space(s, "in");
print_expr(s, iter);
space(s.s);