diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-22 12:21:48 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-22 12:21:48 -0300 |
commit | 33c49f7fa03cf7e3bf7bb3aa697dc567d910c661 (patch) | |
tree | 15af62f7b744bcb0e5abfc6fd935af592cbb5da2 /ltests.c | |
parent | 0df6635711230ab306710056f621b6da59fac5ea (diff) | |
download | lua-33c49f7fa03cf7e3bf7bb3aa697dc567d910c661.tar.gz lua-33c49f7fa03cf7e3bf7bb3aa697dc567d910c661.tar.bz2 lua-33c49f7fa03cf7e3bf7bb3aa697dc567d910c661.zip |
some details over new implementation of string table
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.146 2013/08/20 17:46:34 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.147 2013/08/21 19:21:16 roberto Exp roberto $ |
3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -747,7 +747,7 @@ static int string_query (lua_State *L) { | |||
747 | lua_pushinteger(L ,tb->size); | 747 | lua_pushinteger(L ,tb->size); |
748 | return 2; | 748 | return 2; |
749 | } | 749 | } |
750 | else if ((unsigned int)s < tb->size) { | 750 | else if (s < tb->size) { |
751 | TString *ts = tb->hash[s]; | 751 | TString *ts = tb->hash[s]; |
752 | setsvalue2s(L, L->top, ts); | 752 | setsvalue2s(L, L->top, ts); |
753 | api_incr_top(L); | 753 | api_incr_top(L); |