diff --git a/src/compile.c b/src/compile.c index a07b015..86b957e 100644 --- a/src/compile.c +++ b/src/compile.c @@ -149,8 +149,13 @@ char* compile_gensplit(tSyntaxElement* se, char* operator) { else string_append(&result,compile_expression_wrapped(token->next)); - if (token->next->next != NULL) + if (token->next->next != NULL) { + + string_append(&result," "); string_append(&result,operator); + string_append(&result," "); + + } token = token->next; @@ -621,7 +626,7 @@ char* compile(tSyntaxElement* syntaxtree) { } } - + if (syntaxtree->next != NULL) syntaxtree = syntaxtree->next; else break;