diff options
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) { |