Home
last modified time | relevance | path

Searched refs:fnameindex (Results 1 – 1 of 1) sorted by relevance

/external/lua/src/
Dlauxlib.c660 static int errfile (lua_State *L, const char *what, int fnameindex) { in errfile() argument
662 const char *filename = lua_tostring(L, fnameindex) + 1; in errfile()
664 lua_remove(L, fnameindex); in errfile()
708 int fnameindex = lua_gettop(L) + 1; /* index of filename on the stack */ in luaL_loadfilex() local
716 if (lf.f == NULL) return errfile(L, "open", fnameindex); in luaL_loadfilex()
722 if (lf.f == NULL) return errfile(L, "reopen", fnameindex); in luaL_loadfilex()
731 lua_settop(L, fnameindex); /* ignore results from 'lua_load' */ in luaL_loadfilex()
732 return errfile(L, "read", fnameindex); in luaL_loadfilex()
734 lua_remove(L, fnameindex); in luaL_loadfilex()