aboutsummaryrefslogtreecommitdiff
path: root/src/comp
diff options
context:
space:
mode:
authorBrian Anderson <[email protected]>2011-03-07 22:05:55 -0500
committerBrian Anderson <[email protected]>2011-03-07 22:05:55 -0500
commit5ba012f4a54a1c300e49babdc56d3f1ef01339b5 (patch)
treec493ef924dee9bf919bd63ec1fabfd67b68e645d /src/comp
parentMost of the way through genericizing bind properly with new malloc path. Stil... (diff)
downloadrust-5ba012f4a54a1c300e49babdc56d3f1ef01339b5.tar.xz
rust-5ba012f4a54a1c300e49babdc56d3f1ef01339b5.zip
Add missing alt arm to expr_if pretty-printer
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/pretty/pprust.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/pretty/pprust.rs b/src/comp/pretty/pprust.rs
index d10f5e7c..aecbf57a 100644
--- a/src/comp/pretty/pprust.rs
+++ b/src/comp/pretty/pprust.rs
@@ -384,6 +384,7 @@ impure fn print_expr(ps s, @ast.expr expr) {
wrd1(s, "else");
print_block(s, blk);
}
+ case (_) { /* fall through */ }
}
}
case (ast.expr_while(?test,?block,_)) {