diff options
Diffstat (limited to 'lbaselib.c')
-rw-r--r-- | lbaselib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbaselib.c,v 1.137 2003/11/05 11:59:14 roberto Exp roberto $ | 2 | ** $Id: lbaselib.c,v 1.138 2003/11/11 16:34:17 roberto Exp roberto $ |
3 | ** Basic library | 3 | ** Basic library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -297,7 +297,7 @@ static const char *generic_reader (lua_State *L, void *ud, size_t *size) { | |||
297 | static int luaB_load (lua_State *L) { | 297 | static int luaB_load (lua_State *L) { |
298 | struct Aux_load al; | 298 | struct Aux_load al; |
299 | int status; | 299 | int status; |
300 | const char *cname = luaL_optstring(L, 2, "= generic load"); | 300 | const char *cname = luaL_optstring(L, 2, "=(load)"); |
301 | luaL_checktype(L, 1, LUA_TFUNCTION); | 301 | luaL_checktype(L, 1, LUA_TFUNCTION); |
302 | lua_settop(L, 1); | 302 | lua_settop(L, 1); |
303 | al.func = luaL_ref(L, LUA_REGISTRYINDEX); | 303 | al.func = luaL_ref(L, LUA_REGISTRYINDEX); |