diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-04-12 09:42:07 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-04-12 09:42:07 -0300 |
commit | d41b467320e3962b36cf6011245e924a512a5f9a (patch) | |
tree | d0e880e41e5386376f0ba326f6c60971c941ec87 /ltests.c | |
parent | 4541243355a299a9b75042d207feb87295872c3a (diff) | |
download | lua-d41b467320e3962b36cf6011245e924a512a5f9a.tar.gz lua-d41b467320e3962b36cf6011245e924a512a5f9a.tar.bz2 lua-d41b467320e3962b36cf6011245e924a512a5f9a.zip |
check memory allows strings to live in the main GC list (it should
work ok).
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltests.c,v 2.90 2010/03/26 20:58:11 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.91 2010/03/29 17:43:14 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 | */ |
@@ -361,6 +361,7 @@ static void checkobject (global_State *g, GCObject *o) { | |||
361 | checkproto(g, gco2p(o)); | 361 | checkproto(g, gco2p(o)); |
362 | break; | 362 | break; |
363 | } | 363 | } |
364 | case LUA_TSTRING: break; | ||
364 | default: lua_assert(0); | 365 | default: lua_assert(0); |
365 | } | 366 | } |
366 | } | 367 | } |