summaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-06 09:40:22 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-06-06 09:40:22 -0300
commit16f4723398c0e4c21d9a94539022ac1a4358b5f2 (patch)
treef857f34c92f882f302981644d6bb4ea5a71fae78 /lua.c
parentf1c43bbe19026b80b5185cbdd6dec6230028a999 (diff)
downloadlua-16f4723398c0e4c21d9a94539022ac1a4358b5f2.tar.gz
lua-16f4723398c0e4c21d9a94539022ac1a4358b5f2.tar.bz2
lua-16f4723398c0e4c21d9a94539022ac1a4358b5f2.zip
names & names
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();