commit 3e9daa741623aaa8a191aa98cd43e462b8bf2d33
parent 7236df875aa62e3e217e676365738ae5a0308a9b
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Thu, 14 Mar 1996 12:56:06 -0300
creation of strings must call garbage collector.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tree.c b/tree.c
@@ -3,7 +3,7 @@
** TecCGraf - PUC-Rio
*/
-char *rcs_tree="$Id: tree.c,v 1.18 1996/02/14 19:11:09 roberto Exp roberto $";
+char *rcs_tree="$Id: tree.c,v 1.19 1996/02/22 20:34:33 roberto Exp $";
#include <string.h>
@@ -93,6 +93,7 @@ static TaggedString *insert (char *str, stringtable *tb)
i = (i+1)%tb->size;
}
/* not found */
+ lua_pack();
if (j != -1) /* is there an EMPTY space? */
i = j;
else