diff options
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |