mirror of https://github.com/rusefi/lua.git
identation error (pointed by lint)
This commit is contained in:
parent
9e7de9473c
commit
f858a155c2
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
** $Id: lauxlib.c,v 1.177 2008/06/12 14:37:27 roberto Exp roberto $
|
** $Id: lauxlib.c,v 1.178 2008/06/13 18:45:35 roberto Exp roberto $
|
||||||
** Auxiliary functions for building Lua libraries
|
** Auxiliary functions for building Lua libraries
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
|
@ -474,7 +474,7 @@ LUALIB_API int luaL_loadfile (lua_State *L, const char *filename) {
|
||||||
lf.f = freopen(filename, "rb", lf.f); /* reopen in binary mode */
|
lf.f = freopen(filename, "rb", lf.f); /* reopen in binary mode */
|
||||||
if (lf.f == NULL) return errfile(L, "reopen", fnameindex);
|
if (lf.f == NULL) return errfile(L, "reopen", fnameindex);
|
||||||
/* skip eventual `#!...' */
|
/* skip eventual `#!...' */
|
||||||
while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ;
|
while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ;
|
||||||
lf.extraline = 0;
|
lf.extraline = 0;
|
||||||
}
|
}
|
||||||
ungetc(c, lf.f);
|
ungetc(c, lf.f);
|
||||||
|
|
Loading…
Reference in New Issue