diff options
Diffstat (limited to 'src/lfunc.c')
-rw-r--r-- | src/lfunc.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/lfunc.c b/src/lfunc.c index 8a78fb6e..67967dab 100644 --- a/src/lfunc.c +++ b/src/lfunc.c @@ -1,15 +1,17 @@ /* -** $Id: lfunc.c,v 2.43 2014/06/19 18:27:20 roberto Exp $ +** $Id: lfunc.c,v 2.45 2014/11/02 19:19:04 roberto Exp $ ** Auxiliary functions to manipulate prototypes and closures ** See Copyright Notice in lua.h */ - -#include <stddef.h> - #define lfunc_c #define LUA_CORE +#include "lprefix.h" + + +#include <stddef.h> + #include "lua.h" #include "lfunc.h" @@ -82,7 +84,7 @@ void luaF_close (lua_State *L, StkId level) { UpVal *uv; while (L->openupval != NULL && (uv = L->openupval)->v >= level) { lua_assert(upisopen(uv)); - L->openupval = uv->u.open.next; /* remove from `open' list */ + L->openupval = uv->u.open.next; /* remove from 'open' list */ if (uv->refcount == 0) /* no references? */ luaM_free(L, uv); /* free upvalue */ else { @@ -132,7 +134,7 @@ void luaF_freeproto (lua_State *L, Proto *f) { /* -** Look for n-th local variable at line `line' in function `func'. +** Look for n-th local variable at line 'line' in function 'func'. ** Returns NULL if not found. */ const char *luaF_getlocalname (const Proto *f, int local_number, int pc) { |