commit 9fe5556052bd332596b3a3d5bcb9c05ef5050620
parent 23a384482632a9cda46f7a90227123a6c5994ec9
Author: Andres Navarro <canavarro82@gmail.com>
Date: Mon, 28 Feb 2011 21:27:09 -0300
Bugfix: ksymbol_new didn't set the mark to false.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/ksymbol.c b/src/ksymbol.c
@@ -34,6 +34,7 @@ TValue ksymbol_new(klisp_State *K, const char *buf)
new_sym->next = NULL;
new_sym->gct = 0;
new_sym->tt = K_TSYMBOL;
+ new_sym->mark = KFALSE;
new_sym->size = size;
memcpy(new_sym->b, buf, size);
new_sym->b[size] = '\0';