aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-11-10 15:47:01 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-11-10 15:47:01 -0200
commit9cdeb275e7c93007b2ece6f81aaeafe530076805 (patch)
treecb08aeb4394874c1e99103d206fe97a586b06d47
parentc957b270d23941df8ca533dfbf4c9da672a429b4 (diff)
downloadlua-9cdeb275e7c93007b2ece6f81aaeafe530076805.tar.gz
lua-9cdeb275e7c93007b2ece6f81aaeafe530076805.tar.bz2
lua-9cdeb275e7c93007b2ece6f81aaeafe530076805.zip
details
-rw-r--r--ltm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltm.c b/ltm.c
index 44d2c491..1006aaeb 100644
--- a/ltm.c
+++ b/ltm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.c,v 1.5 1997/11/03 20:45:23 roberto Exp roberto $ 2** $Id: ltm.c,v 1.6 1997/11/04 15:27:53 roberto Exp roberto $
3** Tag methods 3** Tag methods
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -67,7 +67,7 @@ static void init_entry (int tag)
67void luaT_init (void) 67void luaT_init (void)
68{ 68{
69 int t; 69 int t;
70 IMtable_size = NUM_TAGS; 70 IMtable_size = NUM_TAGS*2;
71 last_tag = -(NUM_TAGS-1); 71 last_tag = -(NUM_TAGS-1);
72 luaT_IMtable = luaM_newvector(IMtable_size, struct IM); 72 luaT_IMtable = luaM_newvector(IMtable_size, struct IM);
73 for (t=last_tag; t<=0; t++) 73 for (t=last_tag; t<=0; t++)