about summary refs log tree commit diff
path: root/src/comp/syntax
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-11-23 21:22:44 +0100
committerMarijn Haverbeke <marijnh@gmail.com>2011-11-23 21:22:56 +0100
commit8746ebe2e61f736306793ab24a0370af6eff2785 (patch)
tree9a81e5e4a1f19bcb3d7cece4a00e8127a46ac532 /src/comp/syntax
parent2ac63801d2d5b7b681041cac28f6f7571b39f95e (diff)
downloadrust-8746ebe2e61f736306793ab24a0370af6eff2785.tar.gz
rust-8746ebe2e61f736306793ab24a0370af6eff2785.zip
Add some changes that *should* have been in e98286b594
Forgot to amend the commit after fixing the failure.
Diffstat (limited to 'src/comp/syntax')
-rw-r--r--src/comp/syntax/print/pprust.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/syntax/print/pprust.rs b/src/comp/syntax/print/pprust.rs
index 0fb5df69edb..6f346f176ef 100644
--- a/src/comp/syntax/print/pprust.rs
+++ b/src/comp/syntax/print/pprust.rs
@@ -562,6 +562,7 @@ fn print_possibly_embedded_block(s: ps, blk: ast::blk, embedded: embed_type,
       block_normal. { bopen(s); }
     }
 
+    for vi in blk.node.view_items { print_view_item(s, vi); }
     for st: @ast::stmt in blk.node.stmts {
         print_stmt(s, *st);
     }