diff options
Diffstat (limited to 'lvm.c')
-rw-r--r-- | lvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lvm.c,v 1.273 2002/12/11 12:34:22 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 1.274 2003/01/27 15:12:52 roberto Exp roberto $ |
3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -754,7 +754,7 @@ StkId luaV_execute (lua_State *L) { | |||
754 | Closure *ncl; | 754 | Closure *ncl; |
755 | int nup, j; | 755 | int nup, j; |
756 | p = cl->p->p[GETARG_Bx(i)]; | 756 | p = cl->p->p[GETARG_Bx(i)]; |
757 | nup = p->nupvalues; | 757 | nup = p->nups; |
758 | ncl = luaF_newLclosure(L, nup, &cl->g); | 758 | ncl = luaF_newLclosure(L, nup, &cl->g); |
759 | ncl->l.p = p; | 759 | ncl->l.p = p; |
760 | for (j=0; j<nup; j++, pc++) { | 760 | for (j=0; j<nup; j++, pc++) { |