aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-04-12 09:42:07 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-04-12 09:42:07 -0300
commitd41b467320e3962b36cf6011245e924a512a5f9a (patch)
treed0e880e41e5386376f0ba326f6c60971c941ec87 /ltests.c
parent4541243355a299a9b75042d207feb87295872c3a (diff)
downloadlua-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ltests.c b/ltests.c
index 4b64fe32..86552629 100644
--- a/ltests.c
+++ b/ltests.c
@@ -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 }