mirror of
https://github.com/wgh136/flutter_qjs.git
synced 2025-09-27 05:27:23 +00:00
fix label_lvalue not initialized
This commit is contained in:
@@ -24050,6 +24050,7 @@ static int js_parse_destructuring_element(JSParseState *s, int tok, int is_arg,
|
|||||||
emit_op(s, OP_dup);
|
emit_op(s, OP_dup);
|
||||||
}
|
}
|
||||||
assign_addr = s->cur_func->byte_code.size;
|
assign_addr = s->cur_func->byte_code.size;
|
||||||
|
label_lvalue = -1;
|
||||||
if (s->token.val == '{') {
|
if (s->token.val == '{') {
|
||||||
if (next_token(s))
|
if (next_token(s))
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user