mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
adjust regsiter stack for NODE_OP_ASGN; close #499
This commit is contained in:
@@ -1403,6 +1403,7 @@ codegen(codegen_scope *s, node *tree, int val)
|
||||
codegen(s, tree->cdr->cdr->car, VAL);
|
||||
pop();
|
||||
gen_assignment(s, tree->car, cursp(), val);
|
||||
if (val) pop();
|
||||
dispatch(s, pos);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user