diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 2.111 2010/01/13 16:18:25 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.112 2010/01/21 16:49:21 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -857,7 +857,7 @@ LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc, | |||
857 | ci->u.c.k = k; /* save continuation */ | 857 | ci->u.c.k = k; /* save continuation */ |
858 | ci->u.c.ctx = ctx; /* save context */ | 858 | ci->u.c.ctx = ctx; /* save context */ |
859 | /* save information for error recovery */ | 859 | /* save information for error recovery */ |
860 | ci->u.c.oldtop = savestack(L, c.func); | 860 | ci->u.c.extra = savestack(L, c.func); |
861 | ci->u.c.old_allowhook = L->allowhook; | 861 | ci->u.c.old_allowhook = L->allowhook; |
862 | ci->u.c.old_errfunc = L->errfunc; | 862 | ci->u.c.old_errfunc = L->errfunc; |
863 | L->errfunc = func; | 863 | L->errfunc = func; |