aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldo.c b/ldo.c
index 1769b784..dc6da54f 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 2.21 2005/03/29 16:20:48 roberto Exp roberto $ 2** $Id: ldo.c,v 2.22 2005/04/05 13:41:29 roberto Exp roberto $
3** Stack and Call structure of Lua 3** Stack and Call structure of Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -116,6 +116,7 @@ static void correctstack (lua_State *L, TValue *oldstack) {
116 ci->top = (ci->top - oldstack) + L->stack; 116 ci->top = (ci->top - oldstack) + L->stack;
117 ci->base = (ci->base - oldstack) + L->stack; 117 ci->base = (ci->base - oldstack) + L->stack;
118 ci->func = (ci->func - oldstack) + L->stack; 118 ci->func = (ci->func - oldstack) + L->stack;
119 lua_assert(lua_checkpc(L, ci));
119 } 120 }
120 L->base = L->ci->base; 121 L->base = L->ci->base;
121} 122}