Formatting
This commit is contained in:
parent
a8e4bfd264
commit
b762ad154e
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user