or_break and or_continue to core:odin packages
This commit is contained in:
1 parent
648b83d6ea
commit
41a22bd83d
5 files changed
+45
-2
No files matched your search
@@ -972,6 +972,13 @@ visit_expr :: proc(p: ^Printer, expr: ^ast.Expr, options := List_Options{}) {
|
||||
case ^ast.Or_Return_Expr:
|
||||
visit_expr(p, v.expr)
|
||||
push_generic_token(p, v.token.kind, 1)
|
||||
case ^ast.Or_Branch_Expr:
|
||||
visit_expr(p, v.expr)
|
||||
push_generic_token(p, v.token.kind, 1)
|
||||
if v.label != nil {
|
||||
visit_expr(p, v.label)
|
||||
}
|
||||
|
||||
case ^ast.Selector_Call_Expr:
|
||||
visit_expr(p, v.call.expr)
|
||||
push_generic_token(p, .Open_Paren, 1)
|
||||
|
||||
Reference in new issue
Block a user