From b85b694d78c511010ef46905370a839355322df9 Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Sun, 15 Dec 2024 16:24:59 +0300 Subject: [PATCH] fix magic constant --- byterun/src/analyzer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/byterun/src/analyzer.cpp b/byterun/src/analyzer.cpp index 87c2419c8..31da48c8a 100644 --- a/byterun/src/analyzer.cpp +++ b/byterun/src/analyzer.cpp @@ -317,7 +317,7 @@ void analyze(Bytefile *bf) { break; case Cmd::PATT: --current_stack_depth; - if (l == 0) { // to arg for '=str' // FIXME: magic const + if (l == CMD_PATT_STR) { --current_stack_depth; } if (current_stack_depth < 0) {