Add support for labeled while loops.
This commit is contained in:
parent
5419b2ca2c
commit
373b9d6243
21 changed files with 97 additions and 24 deletions
|
@ -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]
|
||||
// |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue