diff options
| -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.204 2015/03/13 16:24:50 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.205 2015/04/02 21:10:21 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 | */ |
| @@ -1350,7 +1350,7 @@ static struct X { int x; } x; | |||
| 1350 | else if EQ("tostring") { | 1350 | else if EQ("tostring") { |
| 1351 | const char *s = lua_tostring(L1, getindex); | 1351 | const char *s = lua_tostring(L1, getindex); |
| 1352 | const char *s1 = lua_pushstring(L1, s); | 1352 | const char *s1 = lua_pushstring(L1, s); |
| 1353 | lua_assert((s == NULL && s1 == NULL) || strcmp(s, s1) == 0); | 1353 | lua_longassert((s == NULL && s1 == NULL) || strcmp(s, s1) == 0); |
| 1354 | } | 1354 | } |
| 1355 | else if EQ("type") { | 1355 | else if EQ("type") { |
| 1356 | lua_pushstring(L1, luaL_typename(L1, getnum)); | 1356 | lua_pushstring(L1, luaL_typename(L1, getnum)); |
