diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.172 2014/06/17 17:13:29 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.173 2014/06/19 18:29:30 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 | */ |
@@ -1263,9 +1263,6 @@ static struct X { int x; } x; | |||
1263 | const char *s1 = lua_pushstring(L1, s); | 1263 | const char *s1 = lua_pushstring(L1, s); |
1264 | lua_assert((s == NULL && s1 == NULL) || (strcmp)(s, s1) == 0); | 1264 | lua_assert((s == NULL && s1 == NULL) || (strcmp)(s, s1) == 0); |
1265 | } | 1265 | } |
1266 | else if EQ("tounsigned") { | ||
1267 | lua_pushinteger(L1, (lua_Integer)lua_tounsigned(L1, getindex)); | ||
1268 | } | ||
1269 | else if EQ("type") { | 1266 | else if EQ("type") { |
1270 | lua_pushstring(L1, luaL_typename(L1, getnum)); | 1267 | lua_pushstring(L1, luaL_typename(L1, getnum)); |
1271 | } | 1268 | } |