From 16f4723398c0e4c21d9a94539022ac1a4358b5f2 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 6 Jun 2002 09:40:22 -0300 Subject: names & names --- lua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua.c') diff --git a/lua.c b/lua.c index 5e1f4d5a..27ef515b 100644 --- a/lua.c +++ b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.88 2002/05/23 19:43:04 roberto Exp roberto $ +** $Id: lua.c,v 1.89 2002/06/03 20:11:41 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -370,7 +370,7 @@ int main (int argc, char *argv[]) { int toclose = 0; (void)argc; /* to avoid warnings */ L = lua_open(); /* create state */ - lua_setpanicf(L, l_panic); + lua_atpanic(L, l_panic); LUA_USERINIT(L); /* open libraries */ register_own(argv); /* create own function */ status = handle_luainit(); -- cgit v1.2.3-55-g6feb