aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index 1d16a7b5..1fe4aad5 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.190 2001/06/28 14:57:17 roberto Exp roberto $ 2** $Id: lvm.c,v 1.193 2001/09/07 17:39:10 roberto Exp $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -556,7 +556,9 @@ StkId luaV_execute (lua_State *L, const Closure *cl, StkId base) {
556 break; 556 break;
557 } 557 }
558 case OP_RETURN: { 558 case OP_RETURN: {
559 int b = GETARG_B(i); 559 int b;
560 luaF_close(L, base);
561 b = GETARG_B(i);
560 if (b != NO_REG) 562 if (b != NO_REG)
561 L->top = ra+b; 563 L->top = ra+b;
562 return ra; 564 return ra;