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.49 2000/08/31 20:23:40 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.50 2000/09/05 19:33:32 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 | */ |
| @@ -314,7 +314,7 @@ int main (int argc, char *argv[]) { | |||
| 314 | int status; | 314 | int status; |
| 315 | opt.toclose = 0; | 315 | opt.toclose = 0; |
| 316 | getstacksize(argc, argv, &opt); /* handle option `-s' */ | 316 | getstacksize(argc, argv, &opt); /* handle option `-s' */ |
| 317 | L = lua_newstate(opt.stacksize); /* create state */ | 317 | L = lua_open(opt.stacksize); /* create state */ |
| 318 | USERINIT(); /* open libraries */ | 318 | USERINIT(); /* open libraries */ |
| 319 | register_getargs(argv); /* create `getargs' function */ | 319 | register_getargs(argv); /* create `getargs' function */ |
| 320 | status = handle_argv(argv+1, &opt); | 320 | status = handle_argv(argv+1, &opt); |
