Lua closures go to local, too

This commit is contained in:
Roberto Ierusalimschy
2013-08-26 09:41:10 -03:00
parent 50955e27f5
commit 742b7377d3
5 changed files with 72 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstate.c,v 2.104 2013/08/21 20:09:51 roberto Exp roberto $
** $Id: lstate.c,v 2.105 2013/08/23 13:34:54 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -289,7 +289,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) {
g->version = lua_version(NULL);
g->gcstate = GCSpause;
g->allgc = NULL;
g->localgc = NULL;
g->localgc = g->localupv = NULL;
g->finobj = NULL;
g->tobefnz = NULL;
g->fixedgc = NULL;