Formatting

This commit is contained in:
bʰedoh₂ swé 2024-06-11 17:34:00 +05:00
parent a8e4bfd264
commit b762ad154e

View File

@ -208,6 +208,7 @@ char* compile_expression(tSyntaxElement* syntaxelement) {
} else if (strcmp(token->content.string, "map") == 0) { } else if (strcmp(token->content.string, "map") == 0) {
string_append(&result,"{"); string_append(&result,"{");
for (tSyntaxElement* i = token->next; i != NULL; i = i->next) { for (tSyntaxElement* i = token->next; i != NULL; i = i->next) {
string_append(&result, compile_expression(i->content.syntax)); string_append(&result, compile_expression(i->content.syntax));
@ -218,6 +219,7 @@ char* compile_expression(tSyntaxElement* syntaxelement) {
string_append(&result,","); string_append(&result,",");
} }
string_append(&result,"}"); string_append(&result,"}");
} else { } else {