From d133a6b07dc541cf37236691f9b05c066acfa073 Mon Sep 17 00:00:00 2001 From: attilavs2 Date: Sun, 9 Mar 2025 22:01:03 +0100 Subject: [PATCH] Proactive bug fix --- src/parse_utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/parse_utils.c b/src/parse_utils.c index 9306bf4..ea5e1f9 100644 --- a/src/parse_utils.c +++ b/src/parse_utils.c @@ -140,6 +140,9 @@ Statement *make_operation(i32 type, Tag vtype, char *name, i32 nparam, ...){ } if(type == BI_is || type == BI_cast) stat->var_type = vtype; + if(type == BI_if) + stat->els = NULL; + stat->type = type; if(nparam)