commit 2a386d05ae18af5d8cc32f260b23b28d61ba37fc
parent dbdf9add3218d712ef67c5a298b53b11577583da
Author: Andres Navarro <canavarro82@gmail.com>
Date: Wed, 23 Mar 2011 16:54:48 -0300
Bugfix: wrong polarity in guard to check subsequent chars for identifierp in symbol creation.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ksymbol.c b/src/ksymbol.c
@@ -95,7 +95,7 @@ TValue ksymbol_new_check_i(klisp_State *K, TValue str)
identifierp = ktok_is_subsequent(first);
while(identifierp && size--) {
- if (ktok_is_subsequent(*buf))
+ if (!ktok_is_subsequent(*buf))
identifierp = false;
else
buf++;