aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-03-20 09:52:32 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-03-20 09:52:32 -0300
commit63a614e1453b6b03b89b5d47efa476acd5f9d1d2 (patch)
tree203b7f497a7252e3afeb3651a7c6a09c5a3537b0 /lstate.c
parent48e732e07d21d585982d1c53be0d9031f021f014 (diff)
downloadlua-63a614e1453b6b03b89b5d47efa476acd5f9d1d2.tar.gz
lua-63a614e1453b6b03b89b5d47efa476acd5f9d1d2.tar.bz2
lua-63a614e1453b6b03b89b5d47efa476acd5f9d1d2.zip
some improvements in stack control
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.c b/lstate.c
index 5f7e48a6..7b7466d6 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 1.86 2002/03/07 18:14:29 roberto Exp roberto $ 2** $Id: lstate.c,v 1.87 2002/03/11 12:45:00 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -33,7 +33,7 @@ static void stack_init (lua_State *L, lua_State *OL) {
33 L->base_ci = luaM_newvector(OL, BASIC_CI_SIZE, CallInfo); 33 L->base_ci = luaM_newvector(OL, BASIC_CI_SIZE, CallInfo);
34 L->ci = L->base_ci; 34 L->ci = L->base_ci;
35 L->ci->base = L->top; 35 L->ci->base = L->top;
36 L->ci->top = L->top; 36 L->ci->top = L->top + LUA_MINSTACK;
37 L->ci->pc = NULL; 37 L->ci->pc = NULL;
38 L->size_ci = BASIC_CI_SIZE; 38 L->size_ci = BASIC_CI_SIZE;
39 L->end_ci = L->base_ci + L->size_ci; 39 L->end_ci = L->base_ci + L->size_ci;