summaryrefslogtreecommitdiff
path: root/lfunc.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-06-30 11:11:17 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-06-30 11:11:17 -0300
commita71c5f6f531a2503ff80e579e6c3bb95968645ba (patch)
tree96474e5949ce17418b12751dc83af5b260b7cbbe /lfunc.c
parentd9ea6eca7cd86758b9ff994b9e2eb1fa625155c9 (diff)
downloadlua-a71c5f6f531a2503ff80e579e6c3bb95968645ba.tar.gz
lua-a71c5f6f531a2503ff80e579e6c3bb95968645ba.tar.bz2
lua-a71c5f6f531a2503ff80e579e6c3bb95968645ba.zip
typo in comments
Diffstat (limited to '')
-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 */