Fix list declarations
This commit is contained in:
parent
e6027bbaf2
commit
834ec9d3d4
@ -202,7 +202,7 @@ char* compile_expression(tSyntaxElement* syntaxelement) {
|
|||||||
} else if (strcmp(token->content.string, "list") == 0) {
|
} else if (strcmp(token->content.string, "list") == 0) {
|
||||||
|
|
||||||
string_append(&result,"[");
|
string_append(&result,"[");
|
||||||
string_append_free(&result,compile_gensplit(token->next, ","));
|
string_append_free(&result,compile_gensplit(token, ","));
|
||||||
string_append(&result,"]");
|
string_append(&result,"]");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user