From 7b982693cc5f25f9010c30ef14f719e05a3ae605 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 29 Apr 2024 22:46:44 +0900 Subject: fix: block and loop op --- src/Execution/Runtime.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Execution/Runtime.php b/src/Execution/Runtime.php index df7361d..9d7c367 100644 --- a/src/Execution/Runtime.php +++ b/src/Execution/Runtime.php @@ -2301,7 +2301,7 @@ final class Runtime } elseif ($result === 0) { $this->deactivateLabel($n); } else { - $this->deactivateLabel($n); + $this->deactivateLabel(null); return $result - 1; } return null; @@ -2412,7 +2412,7 @@ final class Runtime $this->deactivateLabel($m); continue; } else { - $this->deactivateLabel($m); + $this->deactivateLabel(null); return $result - 1; } } -- cgit v1.2.3-70-g09d2