From 834ec9d3d48692e8b989ac62ae4fd4e02dcea774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?b=CA=B0edoh=E2=82=82=20sw=C3=A9?= Date: Tue, 11 Jun 2024 16:54:41 +0500 Subject: [PATCH] Fix list declarations --- src/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {