summaryrefslogtreecommitdiff
path: root/ldblib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-04-22 11:40:50 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-04-22 11:40:50 -0300
commitee4859b3e3db6c1a3223669d15538b3852ca4791 (patch)
treea9a9532c03f0a9bc58599e34457cb618aa5f11f2 /ldblib.c
parentf388ee4a822b3d8027ed7c28aa21e9406e4a11eb (diff)
downloadlua-ee4859b3e3db6c1a3223669d15538b3852ca4791.tar.gz
lua-ee4859b3e3db6c1a3223669d15538b3852ca4791.tar.bz2
lua-ee4859b3e3db6c1a3223669d15538b3852ca4791.zip
new way to handle errors (temporary version)
Diffstat (limited to 'ldblib.c')
-rw-r--r--ldblib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldblib.c b/ldblib.c
index dec973e6..c38cf419 100644
--- a/ldblib.c
+++ b/ldblib.c
@@ -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
266LUALIB_API int lua_dblibopen (lua_State *L) { 266LUALIB_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