codegen.c: fixed a bug in post mandatory arguments.

parent f5d9aab3
...@@ -1434,7 +1434,7 @@ lambda_body(codegen_scope *s, node *tree, int blk) ...@@ -1434,7 +1434,7 @@ lambda_body(codegen_scope *s, node *tree, int blk)
} }
} }
if (pargs) { if (pargs) {
node *n = margs; node *n = pargs;
pos = ma+oa+ra+1; pos = ma+oa+ra+1;
while (n) { while (n) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment