diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-06-30 16:48:08 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-06-30 16:48:08 -0300 |
commit | b9dcf9974d4dbff3ca28ff618259e277cb0090ea (patch) | |
tree | 66b903add6a56545bb50fda02d33baab24ba44d5 /lgc.c | |
parent | a77d263e86feea55529800028f960d7124c1385f (diff) | |
download | lua-b9dcf9974d4dbff3ca28ff618259e277cb0090ea.tar.gz lua-b9dcf9974d4dbff3ca28ff618259e277cb0090ea.tar.bz2 lua-b9dcf9974d4dbff3ca28ff618259e277cb0090ea.zip |
detail (typos in comments)
Diffstat (limited to 'lgc.c')
-rw-r--r-- | lgc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.c,v 2.182 2014/04/04 17:01:04 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 2.183 2014/05/25 19:08:32 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -899,7 +899,7 @@ void luaC_checkfinalizer (lua_State *L, GCObject *o, Table *mt) { | |||
899 | GCObject **p; | 899 | GCObject **p; |
900 | if (issweepphase(g)) { | 900 | if (issweepphase(g)) { |
901 | makewhite(g, o); /* "sweep" object 'o' */ | 901 | makewhite(g, o); /* "sweep" object 'o' */ |
902 | if (g->sweepgc == &o->gch.next) /* shoud not remove 'sweepgc' object */ | 902 | if (g->sweepgc == &o->gch.next) /* should not remove 'sweepgc' object */ |
903 | g->sweepgc = sweeptolive(L, g->sweepgc, NULL); /* change 'sweepgc' */ | 903 | g->sweepgc = sweeptolive(L, g->sweepgc, NULL); /* change 'sweepgc' */ |
904 | } | 904 | } |
905 | /* search for pointer pointing to 'o' */ | 905 | /* search for pointer pointing to 'o' */ |