From 2363fadd0228c84e6222a15827f656d441d53325 Mon Sep 17 00:00:00 2001 From: maix0 Date: Thu, 10 Oct 2024 16:23:10 +0200 Subject: [PATCH] update: fixed comp error bc cc doesn't know about me_abort --- parser/src/yarn/ast_op.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parser/src/yarn/ast_op.c b/parser/src/yarn/ast_op.c index a9303f54..8b370e91 100644 --- a/parser/src/yarn/ast_op.c +++ b/parser/src/yarn/ast_op.c @@ -6,7 +6,7 @@ /* By: maiboyer +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/10/09 12:44:53 by maiboyer #+# #+# */ -/* Updated: 2024/10/10 16:21:44 by maiboyer ### ########.fr */ +/* Updated: 2024/10/10 16:22:39 by maiboyer ### ########.fr */ /* */ /* ************************************************************************** */ @@ -38,6 +38,7 @@ t_ast_node ast_from_op(t_token tok, t_vec_ast *output_queue) // this needs have a protection in case output_queue is smaller than 2 elements // otherwise it is good :) // you could also make it so TOK_AND and TOK_OR share the same code to win some lines + ret = NULL; if (tok.type == TOK_AND) { ret = ast_alloc(AST_LIST);