or_break and or_continue to core:odin packages

This commit is contained in:
gingerBill
2023-09-30 15:09:59 +01:00
parent 648b83d6ea
commit 41a22bd83d
5 changed files with 45 additions and 2 deletions
+5
View File
@@ -146,6 +146,11 @@ walk :: proc(v: ^Visitor, node: ^Node) {
walk(v, n.y)
case ^Or_Return_Expr:
walk(v, n.expr)
case ^Or_Branch_Expr:
walk(v, n.expr)
if n.label != nil {
walk(v, n.label)
}
case ^Type_Assertion:
walk(v, n.expr)
if n.type != nil {