aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.c b/lstate.c
index 123dd198..bab3abaf 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 2.120 2014/02/18 13:39:37 roberto Exp roberto $ 2** $Id: lstate.c,v 2.121 2014/02/18 13:46:26 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*/
@@ -206,7 +206,7 @@ static void f_luaopen (lua_State *L, void *ud) {
206 luaX_init(L); 206 luaX_init(L);
207 /* pre-create memory-error message */ 207 /* pre-create memory-error message */
208 g->memerrmsg = luaS_newliteral(L, MEMERRMSG); 208 g->memerrmsg = luaS_newliteral(L, MEMERRMSG);
209 luaC_fix(L, obj2gco(g->memerrmsg)); /* it should never be collected */ 209 luaC_fix(L, ts2gco(g->memerrmsg)); /* it should never be collected */
210 g->gcrunning = 1; /* allow gc */ 210 g->gcrunning = 1; /* allow gc */
211 g->version = lua_version(NULL); 211 g->version = lua_version(NULL);
212 luai_userstateopen(L); 212 luai_userstateopen(L);