mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 12:48:14 +00:00
Use or_break and or_continue where appropriate in the core library
This commit is contained in:
@@ -551,8 +551,8 @@ unparen_expr :: proc(expr: ^Expr) -> (val: ^Expr) {
|
||||
return
|
||||
}
|
||||
for {
|
||||
e, ok := val.derived.(^Paren_Expr)
|
||||
if !ok || e.expr == nil {
|
||||
e := val.derived.(^Paren_Expr) or_break
|
||||
if e.expr == nil {
|
||||
break
|
||||
}
|
||||
val = e.expr
|
||||
|
||||
Reference in New Issue
Block a user