| 391 | |
| 392 | |
| 393 | static int luaB_dofile (lua_State *L) { |
| 394 | const char *fname = luaL_optstring(L, 1, NULL); |
| 395 | lua_settop(L, 1); |
| 396 | if (luaL_loadfile(L, fname) != LUA_OK) |
| 397 | return lua_error(L); |
| 398 | lua_callk(L, 0, LUA_MULTRET, 0, dofilecont); |
| 399 | return dofilecont(L, 0, 0); |
| 400 | } |
| 401 | |
| 402 | |
| 403 | static int luaB_assert (lua_State *L) { |
nothing calls this directly
no test coverage detected