mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 17:06:07 +00:00
add while and forever loops
This commit is contained in:
@@ -58,6 +58,8 @@ func runDoWrap(d dowrap, stack stack, stacklevel int) (any, ArErr) {
|
||||
switch x := val.(type) {
|
||||
case Return:
|
||||
return x, ArErr{}
|
||||
case Break:
|
||||
return x, ArErr{}
|
||||
}
|
||||
}
|
||||
return nil, ArErr{}
|
||||
|
||||
Reference in New Issue
Block a user