aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-30 17:55:50 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-03-30 17:55:50 -0300
commit8f0f54ec3835f5d1637ae2720e2b4de6a177574a (patch)
tree8b925203df562cc955e71fef21dd607ac7e2469a /ldo.c
parent556a89e53751135f45d8dd1e84651461b67e1f81 (diff)
downloadlua-8f0f54ec3835f5d1637ae2720e2b4de6a177574a.tar.gz
lua-8f0f54ec3835f5d1637ae2720e2b4de6a177574a.tar.bz2
lua-8f0f54ec3835f5d1637ae2720e2b4de6a177574a.zip
name change
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldo.c b/ldo.c
index bd58c734..08245fba 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 1.70 2000/03/29 20:19:20 roberto Exp roberto $ 2** $Id: ldo.c,v 1.71 2000/03/30 17:19:48 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*/
@@ -183,14 +183,14 @@ void luaD_call (lua_State *L, StkId func, int nResults) {
183 retry: /* for `function' tag method */ 183 retry: /* for `function' tag method */
184 switch (ttype(func)) { 184 switch (ttype(func)) {
185 case TAG_LCLOSURE: { 185 case TAG_LCLOSURE: {
186 ttype(func) = TAG_LCLMARK; 186 ttype(func) = TAG_LMARK;
187 if (callhook) 187 if (callhook)
188 luaD_callHook(L, func, callhook, "call"); 188 luaD_callHook(L, func, callhook, "call");
189 firstResult = luaV_execute(L, clvalue(func), func+1); 189 firstResult = luaV_execute(L, clvalue(func), func+1);
190 break; 190 break;
191 } 191 }
192 case TAG_CCLOSURE: { 192 case TAG_CCLOSURE: {
193 ttype(func) = TAG_CCLMARK; 193 ttype(func) = TAG_CMARK;
194 if (callhook) 194 if (callhook)
195 luaD_callHook(L, func, callhook, "call"); 195 luaD_callHook(L, func, callhook, "call");
196 firstResult = callCclosure(L, clvalue(func), func+1); 196 firstResult = callCclosure(L, clvalue(func), func+1);