Break and continue weren't all the way implemented
This commit is contained in:
@@ -187,12 +187,6 @@ fun _for(c: ref vec<*tree<ast>>): *tree<ast> {
|
||||
fun _return(c: ref vec<*tree<ast>>): *tree<ast> {
|
||||
return new<tree<ast>>()->construct(ast::_return(), c)
|
||||
}
|
||||
fun _break(c: ref vec<*tree<ast>>): *tree<ast> {
|
||||
return new<tree<ast>>()->construct(ast::_break(), c)
|
||||
}
|
||||
fun _continue(c: ref vec<*tree<ast>>): *tree<ast> {
|
||||
return new<tree<ast>>()->construct(ast::_continue(), c)
|
||||
}
|
||||
fun _defer(c: ref vec<*tree<ast>>): *tree<ast> {
|
||||
return new<tree<ast>>()->construct(ast::_defer(), c)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user