aboutsummaryrefslogtreecommitdiff
path: root/lfunc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lfunc.c')
-rw-r--r--lfunc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lfunc.c b/lfunc.c
index 67244672..6e809ca0 100644
--- a/lfunc.c
+++ b/lfunc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lfunc.c,v 2.25 2010/06/04 13:25:10 roberto Exp roberto $ 2** $Id: lfunc.c,v 2.26 2010/06/10 21:27:09 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*/
@@ -57,7 +57,7 @@ UpVal *luaF_findupval (lua_State *L, StkId level) {
57 lua_assert(p->v != &p->u.value); 57 lua_assert(p->v != &p->u.value);
58 if (p->v == level) { /* found a corresponding upvalue? */ 58 if (p->v == level) { /* found a corresponding upvalue? */
59 if (isdead(g, o)) /* is it dead? */ 59 if (isdead(g, o)) /* is it dead? */
60 changewhite(o); /* ressurrect it */ 60 changewhite(o); /* resurrect it */
61 return p; 61 return p;
62 } 62 }
63 resetoldbit(o); /* may create a newer upval after this one */ 63 resetoldbit(o); /* may create a newer upval after this one */