aboutsummaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'lua.c')
-rw-r--r--lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.c b/lua.c
index 5e1f4d5a..27ef515b 100644
--- a/lua.c
+++ b/lua.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.c,v 1.88 2002/05/23 19:43:04 roberto Exp roberto $ 2** $Id: lua.c,v 1.89 2002/06/03 20:11:41 roberto Exp roberto $
3** Lua stand-alone interpreter 3** Lua stand-alone interpreter
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -370,7 +370,7 @@ int main (int argc, char *argv[]) {
370 int toclose = 0; 370 int toclose = 0;
371 (void)argc; /* to avoid warnings */ 371 (void)argc; /* to avoid warnings */
372 L = lua_open(); /* create state */ 372 L = lua_open(); /* create state */
373 lua_setpanicf(L, l_panic); 373 lua_atpanic(L, l_panic);
374 LUA_USERINIT(L); /* open libraries */ 374 LUA_USERINIT(L); /* open libraries */
375 register_own(argv); /* create own function */ 375 register_own(argv); /* create own function */
376 status = handle_luainit(); 376 status = handle_luainit();