aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-29 17:34:02 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-29 17:34:02 -0200
commit63a822c8e199918c54e325cbc8696ed04071aba8 (patch)
tree430e1b2fe1ffafb712bd712b5b625a18afaa953d /ldo.c
parent09def5da4440a5a91c2721f495bd9c3df1081874 (diff)
downloadlua-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldo.c b/ldo.c
index 9fb42be7..67b8f5c5 100644
--- a/ldo.c
+++ b/ldo.c
@@ -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;