|
|
||
|
I think this is the patch to that bug:
* lparser.c:
ls->fs->freereg -= nexps - nvars; /* remove extra values */
}
else {
+ luaK_setcallreturns(ls->fs, &e, 1); /* close last expression */
luaK_storevar(ls->fs, &lh->v, &e);
return; /* avoid default */
}
-- Roberto