summaryrefslogtreecommitdiff
path: root/lstring.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-06-19 13:14:09 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-06-19 13:14:09 -0300
commit9618aaf07d0d82ccbac91db22cb42451ec17d7ed (patch)
tree199314fbf7462d174921c71af389da14b4f6c595 /lstring.c
parentbec9bc4154e54fbc19b134874f6301f1e4654d5d (diff)
downloadlua-9618aaf07d0d82ccbac91db22cb42451ec17d7ed.tar.gz
lua-9618aaf07d0d82ccbac91db22cb42451ec17d7ed.tar.bz2
lua-9618aaf07d0d82ccbac91db22cb42451ec17d7ed.zip
small corrections in comments
Diffstat (limited to 'lstring.c')
-rw-r--r--lstring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstring.c b/lstring.c
index f18d2ff2..b2b4baa2 100644
--- a/lstring.c
+++ b/lstring.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstring.c,v 1.11 1998/01/28 16:50:33 roberto Exp roberto $ 2** $Id: lstring.c,v 1.12 1998/03/06 16:54:42 roberto Exp roberto $
3** String table (keeps all strings handled by Lua) 3** String table (keeps all strings handled by Lua)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -258,7 +258,7 @@ TaggedString *luaS_collectudata (void)
258 for (j=0; j<tb->size; j++) { 258 for (j=0; j<tb->size; j++) {
259 TaggedString *t = tb->hash[j]; 259 TaggedString *t = tb->hash[j];
260 if (t == NULL || t == &EMPTY || t->constindex != -1) 260 if (t == NULL || t == &EMPTY || t->constindex != -1)
261 continue; /* get only user datas */ 261 continue; /* get only user data */
262 t->head.next = (GCnode *)frees; 262 t->head.next = (GCnode *)frees;
263 frees = t; 263 frees = t;
264 tb->hash[j] = &EMPTY; 264 tb->hash[j] = &EMPTY;