diff options
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 2.11 2004/09/22 12:37:52 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.12 2004/12/01 15:52:54 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 | */ |
@@ -147,7 +147,7 @@ void luaD_growstack (lua_State *L, int n) { | |||
147 | } | 147 | } |
148 | 148 | ||
149 | 149 | ||
150 | static CallInfo *luaD_growCI (lua_State *L) { | 150 | static CallInfo *growCI (lua_State *L) { |
151 | if (L->size_ci > LUA_MAXCALLS) /* overflow while handling overflow? */ | 151 | if (L->size_ci > LUA_MAXCALLS) /* overflow while handling overflow? */ |
152 | luaD_throw(L, LUA_ERRERR); | 152 | luaD_throw(L, LUA_ERRERR); |
153 | else { | 153 | else { |
@@ -238,7 +238,7 @@ static StkId tryfuncTM (lua_State *L, StkId func) { | |||
238 | 238 | ||
239 | 239 | ||
240 | #define inc_ci(L) \ | 240 | #define inc_ci(L) \ |
241 | ((L->ci == L->end_ci) ? luaD_growCI(L) : \ | 241 | ((L->ci == L->end_ci) ? growCI(L) : \ |
242 | (condhardstacktests(luaD_reallocCI(L, L->size_ci)), ++L->ci)) | 242 | (condhardstacktests(luaD_reallocCI(L, L->size_ci)), ++L->ci)) |
243 | 243 | ||
244 | 244 | ||