diff options
Diffstat (limited to 'lfunc.c')
-rw-r--r-- | lfunc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lfunc.c,v 2.15 2009/09/28 16:32:50 roberto Exp roberto $ | 2 | ** $Id: lfunc.c,v 2.16 2009/09/30 15:38:37 roberto Exp roberto $ |
3 | ** Auxiliary functions to manipulate prototypes and closures | 3 | ** Auxiliary functions to manipulate prototypes and closures |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -60,7 +60,7 @@ UpVal *luaF_findupval (lua_State *L, StkId level) { | |||
60 | lua_assert(p->v != &p->u.value); | 60 | lua_assert(p->v != &p->u.value); |
61 | if (p->v == level) { /* found a corresponding upvalue? */ | 61 | if (p->v == level) { /* found a corresponding upvalue? */ |
62 | if (isdead(g, obj2gco(p))) /* is it dead? */ | 62 | if (isdead(g, obj2gco(p))) /* is it dead? */ |
63 | changewhite(obj2gco(p)); /* ressurect it */ | 63 | changewhite(obj2gco(p)); /* ressurrect it */ |
64 | return p; | 64 | return p; |
65 | } | 65 | } |
66 | pp = &p->next; | 66 | pp = &p->next; |