diff --git a/src/compile.c b/src/compile.c index 19f7f15..a68e90c 100644 --- a/src/compile.c +++ b/src/compile.c @@ -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 {