From b9dcf9974d4dbff3ca28ff618259e277cb0090ea Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Mon, 30 Jun 2014 16:48:08 -0300 Subject: detail (typos in comments) --- lgc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lgc.c') diff --git a/lgc.c b/lgc.c index e2195c0d..495eb4ac 100644 --- a/lgc.c +++ b/lgc.c @@ -1,5 +1,5 @@ /* -** $Id: lgc.c,v 2.182 2014/04/04 17:01:04 roberto Exp roberto $ +** $Id: lgc.c,v 2.183 2014/05/25 19:08:32 roberto Exp roberto $ ** Garbage Collector ** See Copyright Notice in lua.h */ @@ -899,7 +899,7 @@ void luaC_checkfinalizer (lua_State *L, GCObject *o, Table *mt) { GCObject **p; if (issweepphase(g)) { makewhite(g, o); /* "sweep" object 'o' */ - if (g->sweepgc == &o->gch.next) /* shoud not remove 'sweepgc' object */ + if (g->sweepgc == &o->gch.next) /* should not remove 'sweepgc' object */ g->sweepgc = sweeptolive(L, g->sweepgc, NULL); /* change 'sweepgc' */ } /* search for pointer pointing to 'o' */ -- cgit v1.2.3-55-g6feb