diff options
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 1.117 2001/01/26 11:45:51 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.118 2001/01/29 15:35:17 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 | */ |
@@ -172,6 +172,7 @@ void luaD_call (lua_State *L, StkId func, int nResults) { | |||
172 | setclvalue(func, tm); /* tag method is the new function to be called */ | 172 | setclvalue(func, tm); /* tag method is the new function to be called */ |
173 | } | 173 | } |
174 | cl = clvalue(func); | 174 | cl = clvalue(func); |
175 | ci.v.ttype = LUA_TMARK; | ||
175 | ci.func = cl; | 176 | ci.func = cl; |
176 | setivalue(func, &ci); | 177 | setivalue(func, &ci); |
177 | callhook = L->callhook; | 178 | callhook = L->callhook; |