mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
or_break and or_continue to core:odin packages
This commit is contained in:
@@ -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