Searched refs:fnameindex (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/lua/src/ |
H A D | lauxlib.c | 734 static int errfile (lua_State *L, const char *what, int fnameindex) { in errfile() argument 736 const char *filename = lua_tostring(L, fnameindex) + 1; in errfile() 738 lua_remove(L, fnameindex); in errfile() 783 int fnameindex = lua_gettop(L) + 1; /* index of filename on the stack */ in luaL_loadfilex() local 791 if (lf.f == NULL) return errfile(L, "open", fnameindex); in luaL_loadfilex() 800 if (lf.f == NULL) return errfile(L, "reopen", fnameindex); in luaL_loadfilex() 810 lua_settop(L, fnameindex); /* ignore results from 'lua_load' */ in luaL_loadfilex() 811 return errfile(L, "read", fnameindex); in luaL_loadfilex() 813 lua_remove(L, fnameindex); in luaL_loadfilex()
|