diff options
Diffstat (limited to 'lstring.c')
| -rw-r--r-- | lstring.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstring.c,v 2.26 2013/01/08 13:50:10 roberto Exp roberto $ | 2 | ** $Id: lstring.c,v 2.27 2013/06/19 14:27:00 roberto Exp roberto $ |
| 3 | ** String table (keeps all strings handled by Lua) | 3 | ** String table (keeps all strings handled by Lua) |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -79,7 +79,6 @@ void luaS_resize (lua_State *L, int newsize) { | |||
| 79 | unsigned int h = lmod(gco2ts(p)->hash, newsize); /* new position */ | 79 | unsigned int h = lmod(gco2ts(p)->hash, newsize); /* new position */ |
| 80 | gch(p)->next = tb->hash[h]; /* chain it */ | 80 | gch(p)->next = tb->hash[h]; /* chain it */ |
| 81 | tb->hash[h] = p; | 81 | tb->hash[h] = p; |
| 82 | resetoldbit(p); /* see MOVE OLD rule */ | ||
| 83 | p = next; | 82 | p = next; |
| 84 | } | 83 | } |
| 85 | } | 84 | } |
