diff options
Diffstat (limited to 'ldblib.c')
-rw-r--r-- | ldblib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldblib.c,v 1.46 2002/04/02 20:41:59 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.47 2002/04/09 19:48:08 roberto Exp roberto $ |
3 | ** Interface from Lua to its debug API | 3 | ** Interface from Lua to its debug API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -265,7 +265,7 @@ static const luaL_reg dblib[] = { | |||
265 | 265 | ||
266 | LUALIB_API int lua_dblibopen (lua_State *L) { | 266 | LUALIB_API int lua_dblibopen (lua_State *L) { |
267 | luaL_opennamedlib(L, "dbg", dblib, 0); | 267 | luaL_opennamedlib(L, "dbg", dblib, 0); |
268 | lua_register(L, LUA_ERRORMESSAGE, errorfb); | 268 | lua_register(L, "_ERRORMESSAGE", errorfb); |
269 | return 0; | 269 | return 0; |
270 | } | 270 | } |
271 | 271 | ||