diff options
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 2.75 2010/03/26 20:58:11 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.76 2010/03/29 17:43:14 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -157,8 +157,6 @@ static void f_luaopen (lua_State *L, void *ud) { | |||
157 | luaS_resize(L, MINSTRTABSIZE); /* initial size of string table */ | 157 | luaS_resize(L, MINSTRTABSIZE); /* initial size of string table */ |
158 | luaT_init(L); | 158 | luaT_init(L); |
159 | luaX_init(L); | 159 | luaX_init(L); |
160 | g->envn = luaS_new(L, "_ENV"); | ||
161 | luaS_fix(g->envn); /* never collect this name */ | ||
162 | luaS_fix(luaS_newliteral(L, MEMERRMSG)); | 160 | luaS_fix(luaS_newliteral(L, MEMERRMSG)); |
163 | g->GCthreshold = 4*g->totalbytes; | 161 | g->GCthreshold = 4*g->totalbytes; |
164 | } | 162 | } |