diff options
Diffstat (limited to 'deps/lua/src')
-rw-r--r-- | deps/lua/src/lauxlib.c | 2 | ||||
-rw-r--r-- | deps/lua/src/ldo.c | 2 | ||||
-rw-r--r-- | deps/lua/src/ltablib.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/deps/lua/src/lauxlib.c b/deps/lua/src/lauxlib.c index 10f14e2c0..751f1e887 100644 --- a/deps/lua/src/lauxlib.c +++ b/deps/lua/src/lauxlib.c @@ -575,7 +575,7 @@ LUALIB_API int luaL_loadfile (lua_State *L, const char *filename) { if (lf.f == NULL) return errfile(L, "reopen", fnameindex); /* skip eventual `#!...' */ while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ; - lf.extraline = 0; + lf.extraline = 0; } ungetc(c, lf.f); status = lua_load(L, getF, &lf, lua_tostring(L, -1)); diff --git a/deps/lua/src/ldo.c b/deps/lua/src/ldo.c index 939940a4c..e641dfcd9 100644 --- a/deps/lua/src/ldo.c +++ b/deps/lua/src/ldo.c @@ -493,7 +493,7 @@ static void f_parser (lua_State *L, void *ud) { Proto *tf; Closure *cl; struct SParser *p = cast(struct SParser *, ud); - int c = luaZ_lookahead(p->z); + luaZ_lookahead(p->z); luaC_checkGC(L); tf = (luaY_parser)(L, p->z, &p->buff, p->name); diff --git a/deps/lua/src/ltablib.c b/deps/lua/src/ltablib.c index b6d9cb4ac..0bdac7f6c 100644 --- a/deps/lua/src/ltablib.c +++ b/deps/lua/src/ltablib.c @@ -137,7 +137,7 @@ static void addfield (lua_State *L, luaL_Buffer *b, int i) { if (!lua_isstring(L, -1)) luaL_error(L, "invalid value (%s) at index %d in table for " LUA_QL("concat"), luaL_typename(L, -1), i); - luaL_addvalue(b); + luaL_addvalue(b); } |