fix label_lvalue not initialized

This commit is contained in:
wgh19
2024-06-30 16:22:16 +08:00
parent db2b2d0ccd
commit ade0b9d673

View File

@@ -24050,6 +24050,7 @@ static int js_parse_destructuring_element(JSParseState *s, int tok, int is_arg,
emit_op(s, OP_dup);
}
assign_addr = s->cur_func->byte_code.size;
label_lvalue = -1;
if (s->token.val == '{') {
if (next_token(s))
return -1;