aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-02-12 17:23:02 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-02-12 17:23:02 -0200
commitbf6d2ccf92768be938aaac0a0bfc87833b793e8f (patch)
tree0d1455129fd35ea93d46a583ba814716e66fd79f /ldo.c
parentb82ff713e321f4b65b2dc41fc1fe97633f7b197d (diff)
downloadlua-bf6d2ccf92768be938aaac0a0bfc87833b793e8f.tar.gz
lua-bf6d2ccf92768be938aaac0a0bfc87833b793e8f.tar.bz2
lua-bf6d2ccf92768be938aaac0a0bfc87833b793e8f.zip
details
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.c b/ldo.c
index 16f79c51..9787e76f 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 1.30 1999/01/15 11:38:33 roberto Exp roberto $ 2** $Id: ldo.c,v 1.31 1999/02/04 17:47:59 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*/
@@ -136,7 +136,7 @@ static StkId callC (lua_CFunction f, StkId base)
136 if (L->callhook) 136 if (L->callhook)
137 luaD_callHook(base, NULL, 0); 137 luaD_callHook(base, NULL, 0);
138 (*f)(); /* do the actual call */ 138 (*f)(); /* do the actual call */
139 if (L->callhook) /* func may have changed lua_callhook */ 139 if (L->callhook) /* func may have changed callhook */
140 luaD_callHook(base, NULL, 1); 140 luaD_callHook(base, NULL, 1);
141 firstResult = CS->base; 141 firstResult = CS->base;
142 *CS = oldCLS; 142 *CS = oldCLS;