Fix list declarations

This commit is contained in:
bʰedoh₂ swé 2024-06-11 16:54:41 +05:00
parent e6027bbaf2
commit 834ec9d3d4

View File

@ -202,7 +202,7 @@ char* compile_expression(tSyntaxElement* syntaxelement) {
} else if (strcmp(token->content.string, "list") == 0) {
string_append(&result,"[");
string_append_free(&result,compile_gensplit(token->next, ","));
string_append_free(&result,compile_gensplit(token, ","));
string_append(&result,"]");
} else {