diff options
Diffstat (limited to '')
| -rw-r--r-- | table.c | 7 |
1 files changed, 3 insertions, 4 deletions
| @@ -3,7 +3,7 @@ | |||
| 3 | ** Module to control static tables | 3 | ** Module to control static tables |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | char *rcs_table="$Id: table.c,v 2.49 1996/03/14 15:57:19 roberto Exp roberto $"; | 6 | char *rcs_table="$Id: table.c,v 2.50 1996/03/21 16:31:32 roberto Exp roberto $"; |
| 7 | 7 | ||
| 8 | #include "mem.h" | 8 | #include "mem.h" |
| 9 | #include "opcode.h" | 9 | #include "opcode.h" |
| @@ -75,12 +75,11 @@ void luaI_initsymbol (void) | |||
| 75 | */ | 75 | */ |
| 76 | void luaI_initconstant (void) | 76 | void luaI_initconstant (void) |
| 77 | { | 77 | { |
| 78 | int i; | ||
| 79 | lua_maxconstant = BUFFER_BLOCK; | 78 | lua_maxconstant = BUFFER_BLOCK; |
| 80 | lua_constant = newvector(lua_maxconstant, TaggedString *); | 79 | lua_constant = newvector(lua_maxconstant, TaggedString *); |
| 81 | /* pre-register mem error messages, to avoid loop when error arises */ | 80 | /* pre-register mem error messages, to avoid loop when error arises */ |
| 82 | for (i=0; i<NUMERRMSG; i++) | 81 | luaI_findconstantbyname(tableEM); |
| 83 | luaI_findconstantbyname(luaI_memerrormsg[i]); | 82 | luaI_findconstantbyname(memEM); |
| 84 | } | 83 | } |
| 85 | 84 | ||
| 86 | 85 | ||
