aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index 3c0a8276..bcb4318f 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 2.105 2010/02/27 21:16:24 roberto Exp roberto $ 2** $Id: lvm.c,v 2.106 2010/03/12 19:14:06 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*/
@@ -771,7 +771,7 @@ void luaV_execute (lua_State *L) {
771 case OP_CLOSURE: { 771 case OP_CLOSURE: {
772 Proto *p = cl->p->p[GETARG_Bx(i)]; /* prototype for new closure */ 772 Proto *p = cl->p->p[GETARG_Bx(i)]; /* prototype for new closure */
773 int nup = p->sizeupvalues; 773 int nup = p->sizeupvalues;
774 Closure *ncl = luaF_newLclosure(L, nup, cl->env); 774 Closure *ncl = luaF_newLclosure(L, nup);
775 Upvaldesc *uv = p->upvalues; 775 Upvaldesc *uv = p->upvalues;
776 int j; 776 int j;
777 ncl->l.p = p; 777 ncl->l.p = p;