diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-06-30 11:11:17 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-06-30 11:11:17 -0300 |
commit | a71c5f6f531a2503ff80e579e6c3bb95968645ba (patch) | |
tree | 96474e5949ce17418b12751dc83af5b260b7cbbe /lfunc.c | |
parent | d9ea6eca7cd86758b9ff994b9e2eb1fa625155c9 (diff) | |
download | lua-a71c5f6f531a2503ff80e579e6c3bb95968645ba.tar.gz lua-a71c5f6f531a2503ff80e579e6c3bb95968645ba.tar.bz2 lua-a71c5f6f531a2503ff80e579e6c3bb95968645ba.zip |
typo in comments
Diffstat (limited to '')
-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.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 */ |