diff options
Diffstat (limited to 'lua.c')
-rw-r--r-- | lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); |