diff options
| author | Brian Anderson <[email protected]> | 2011-03-07 22:05:55 -0500 |
|---|---|---|
| committer | Brian Anderson <[email protected]> | 2011-03-07 22:05:55 -0500 |
| commit | 5ba012f4a54a1c300e49babdc56d3f1ef01339b5 (patch) | |
| tree | c493ef924dee9bf919bd63ec1fabfd67b68e645d /src/comp | |
| parent | Most of the way through genericizing bind properly with new malloc path. Stil... (diff) | |
| download | rust-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.rs | 1 |
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,_)) { |