diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-26 09:39:20 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-26 09:39:20 -0200 |
commit | 3c4d970a7b0adf9ef1cb7e6ec81dc9d9e99bfcbf (patch) | |
tree | a07f436aa6a9b755bf974cce539798b99a3e83e4 /lfunc.c | |
parent | b0f2b288a6b860374b9578d4c51329fc9cd43022 (diff) | |
download | lua-3c4d970a7b0adf9ef1cb7e6ec81dc9d9e99bfcbf.tar.gz lua-3c4d970a7b0adf9ef1cb7e6ec81dc9d9e99bfcbf.tar.bz2 lua-3c4d970a7b0adf9ef1cb7e6ec81dc9d9e99bfcbf.zip |
comment typos
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; |