codegen.c: need to pack argument when n==13 too.

Because we have extra 2 arguments coming (kw and rhs).
This commit is contained in:
Yukihiro "Matz" Matsumoto
2022-04-08 17:51:13 +09:00
parent 55b526167b
commit c8c083cb75
+1 -1
View File
@@ -1905,7 +1905,7 @@ gen_assignment(codegen_scope *s, node *tree, node *rhs, int sp, int val)
}
}
if (tree->cdr->car) { /* keyword arguments */
if (n == 14) {
if (n == 13 || n == 14) {
pop_n(n);
genop_2(s, OP_ARRAY, cursp(), n);
push();