mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
check memory allows strings to live in the main GC list (it should
work ok).
This commit is contained in:
parent
4541243355
commit
d41b467320
1 changed files with 2 additions and 1 deletions
3
ltests.c
3
ltests.c
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: ltests.c,v 2.90 2010/03/26 20:58:11 roberto Exp roberto $
|
||||
** $Id: ltests.c,v 2.91 2010/03/29 17:43:14 roberto Exp roberto $
|
||||
** Internal Module for Debugging of the Lua Implementation
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -361,6 +361,7 @@ static void checkobject (global_State *g, GCObject *o) {
|
|||
checkproto(g, gco2p(o));
|
||||
break;
|
||||
}
|
||||
case LUA_TSTRING: break;
|
||||
default: lua_assert(0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue