Add support for labeled while loops.

This commit is contained in:
Pythoner6 2014-07-25 20:12:51 -04:00 committed by Joseph Martin
parent 5419b2ca2c
commit 373b9d6243
21 changed files with 97 additions and 24 deletions

View file

@ -227,7 +227,7 @@ impl<'a> CFGBuilder<'a> {
self.add_node(expr.id, [then_exit, else_exit]) // 4, 5
}
ast::ExprWhile(ref cond, ref body) => {
ast::ExprWhile(ref cond, ref body, _) => {
//
// [pred]
// |