diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-25 09:50:46 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-25 09:50:46 -0200 |
| commit | bdf566a8a32450c2eb6273c8c1a92e2181b6846e (patch) | |
| tree | b301da541fbad81034216a6e0465cc381082431e /lfunc.c | |
| parent | c3c78030f79fdbbb06265d50645e408d60e7798e (diff) | |
| download | lua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.tar.gz lua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.tar.bz2 lua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.zip | |
`name' in comments changed to 'name'
Diffstat (limited to 'lfunc.c')
| -rw-r--r-- | lfunc.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lfunc.c,v 2.42 2014/06/18 22:59:29 roberto Exp roberto $ | 2 | ** $Id: lfunc.c,v 2.43 2014/06/19 18:27:20 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 | */ |
| @@ -82,7 +82,7 @@ void luaF_close (lua_State *L, StkId level) { | |||
| 82 | UpVal *uv; | 82 | UpVal *uv; |
| 83 | while (L->openupval != NULL && (uv = L->openupval)->v >= level) { | 83 | while (L->openupval != NULL && (uv = L->openupval)->v >= level) { |
| 84 | lua_assert(upisopen(uv)); | 84 | lua_assert(upisopen(uv)); |
| 85 | L->openupval = uv->u.open.next; /* remove from `open' list */ | 85 | L->openupval = uv->u.open.next; /* remove from 'open' list */ |
| 86 | if (uv->refcount == 0) /* no references? */ | 86 | if (uv->refcount == 0) /* no references? */ |
| 87 | luaM_free(L, uv); /* free upvalue */ | 87 | luaM_free(L, uv); /* free upvalue */ |
| 88 | else { | 88 | else { |
| @@ -132,7 +132,7 @@ void luaF_freeproto (lua_State *L, Proto *f) { | |||
| 132 | 132 | ||
| 133 | 133 | ||
| 134 | /* | 134 | /* |
| 135 | ** Look for n-th local variable at line `line' in function `func'. | 135 | ** Look for n-th local variable at line 'line' in function 'func'. |
| 136 | ** Returns NULL if not found. | 136 | ** Returns NULL if not found. |
| 137 | */ | 137 | */ |
| 138 | const char *luaF_getlocalname (const Proto *f, int local_number, int pc) { | 138 | const char *luaF_getlocalname (const Proto *f, int local_number, int pc) { |
