aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-25 14:45:36 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-25 14:45:36 -0200
commita53d9b66ca6247818acaf41e28cdf123082a272b (patch)
tree8e909200d4d925fc7394e6adf83cc5941456c588 /lstate.c
parentc8559e3c8d12e052783e2952db1372c68cc16059 (diff)
downloadlua-a53d9b66ca6247818acaf41e28cdf123082a272b.tar.gz
lua-a53d9b66ca6247818acaf41e28cdf123082a272b.tar.bz2
lua-a53d9b66ca6247818acaf41e28cdf123082a272b.zip
first implementation for type names
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lstate.c b/lstate.c
index 672aaba7..a5666839 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 1.52 2001/01/22 18:01:38 roberto Exp roberto $ 2** $Id: lstate.c,v 1.53 2001/01/24 15:45:33 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*/
@@ -86,6 +86,7 @@ static void f_luaopen (lua_State *L, void *ud) {
86 G(L)->nblocks = sizeof(lua_State) + sizeof(global_State); 86 G(L)->nblocks = sizeof(lua_State) + sizeof(global_State);
87 luaD_init(L, so->stacksize); /* init stack */ 87 luaD_init(L, so->stacksize); /* init stack */
88 L->gt = luaH_new(L, 10); /* table of globals */ 88 L->gt = luaH_new(L, 10); /* table of globals */
89 G(L)->type2tag = luaH_new(L, 10);
89 luaS_init(L); 90 luaS_init(L);
90 luaX_init(L); 91 luaX_init(L);
91 luaT_init(L); 92 luaT_init(L);