diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-29 17:34:02 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-29 17:34:02 -0200 |
| commit | 63a822c8e199918c54e325cbc8696ed04071aba8 (patch) | |
| tree | 430e1b2fe1ffafb712bd712b5b625a18afaa953d /ldo.c | |
| parent | 09def5da4440a5a91c2721f495bd9c3df1081874 (diff) | |
| download | lua-63a822c8e199918c54e325cbc8696ed04071aba8.tar.gz lua-63a822c8e199918c54e325cbc8696ed04071aba8.tar.bz2 lua-63a822c8e199918c54e325cbc8696ed04071aba8.zip | |
all boxed types start with their tags
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; |
