aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.c b/ldo.c
index cc564ca0..3440e3f9 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 2.111 2013/09/17 15:40:06 roberto Exp roberto $ 2** $Id: ldo.c,v 2.112 2013/11/08 18:16:33 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*/
@@ -143,7 +143,7 @@ static void correctstack (lua_State *L, TValue *oldstack) {
143 CallInfo *ci; 143 CallInfo *ci;
144 UpVal *up; 144 UpVal *up;
145 L->top = (L->top - oldstack) + L->stack; 145 L->top = (L->top - oldstack) + L->stack;
146 for (up = L->openupval; up != NULL; up = up->u.op.next) 146 for (up = L->openupval; up != NULL; up = up->u.open.next)
147 up->v = (up->v - oldstack) + L->stack; 147 up->v = (up->v - oldstack) + L->stack;
148 for (ci = L->ci; ci != NULL; ci = ci->previous) { 148 for (ci = L->ci; ci != NULL; ci = ci->previous) {
149 ci->top = (ci->top - oldstack) + L->stack; 149 ci->top = (ci->top - oldstack) + L->stack;