Spaces
This commit is contained in:
parent
d6af70056a
commit
635747af1d
@ -149,8 +149,13 @@ char* compile_gensplit(tSyntaxElement* se, char* operator) {
|
|||||||
else
|
else
|
||||||
string_append(&result,compile_expression_wrapped(token->next));
|
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,operator);
|
||||||
|
string_append(&result," ");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
token = token->next;
|
token = token->next;
|
||||||
|
|
||||||
@ -621,7 +626,7 @@ char* compile(tSyntaxElement* syntaxtree) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (syntaxtree->next != NULL)
|
if (syntaxtree->next != NULL)
|
||||||
syntaxtree = syntaxtree->next;
|
syntaxtree = syntaxtree->next;
|
||||||
else break;
|
else break;
|
||||||
|
Loading…
Reference in New Issue
Block a user