diff options
Diffstat (limited to 'src/luac.c')
-rw-r--r-- | src/luac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luac.c b/src/luac.c index d070173..fc4414a 100644 --- a/src/luac.c +++ b/src/luac.c @@ -190,7 +190,7 @@ int main(int argc, char* argv[]) int i=doargs(argc,argv); argc-=i; argv+=i; if (argc<=0) usage("no input files given"); - L=lua_open(); + L=luaL_newstate(); if (L==NULL) fatal("not enough memory for state"); s.argc=argc; s.argv=argv; |