diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-11-10 15:47:01 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-11-10 15:47:01 -0200 |
| commit | 9cdeb275e7c93007b2ece6f81aaeafe530076805 (patch) | |
| tree | cb08aeb4394874c1e99103d206fe97a586b06d47 | |
| parent | c957b270d23941df8ca533dfbf4c9da672a429b4 (diff) | |
| download | lua-9cdeb275e7c93007b2ece6f81aaeafe530076805.tar.gz lua-9cdeb275e7c93007b2ece6f81aaeafe530076805.tar.bz2 lua-9cdeb275e7c93007b2ece6f81aaeafe530076805.zip | |
details
| -rw-r--r-- | ltm.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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) | |||
| 67 | void luaT_init (void) | 67 | void 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++) |
