fix magic constant

This commit is contained in:
ProgramSnail 2024-12-15 16:24:59 +03:00
parent d90a8cf89f
commit b85b694d78

View file

@ -317,7 +317,7 @@ void analyze(Bytefile *bf) {
break; break;
case Cmd::PATT: case Cmd::PATT:
--current_stack_depth; --current_stack_depth;
if (l == 0) { // to arg for '=str' // FIXME: magic const if (l == CMD_PATT_STR) {
--current_stack_depth; --current_stack_depth;
} }
if (current_stack_depth < 0) { if (current_stack_depth < 0) {