Commit ccc325bc0159d2ca028bf98b8058d1c0322b4969

Thomas de Grivel 2023-03-13T10:55:21

wip

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/libc3/buf_parse.c b/libc3/buf_parse.c
index b01eddb..de1f108 100644
--- a/libc3/buf_parse.c
+++ b/libc3/buf_parse.c
@@ -248,7 +248,9 @@ sw buf_parse_call_op_rec (s_buf *buf, s_call *dest, u8 min_precedence)
       tmp2.arguments->tag = *right;
       if ((r = buf_parse_call_op_rec(buf, &tmp2, (next_op_precedence > op_precedence) ? op_precedence + 1 : op_precedence)) <= 0)
         goto restore;
-      tag_init_call(right, &tmp2);
+      bzero(right, sizeof(s_tag));
+      right->type.type = TAG_CALL;
+      right->data.call = tmp2;
       result += r;
       if ((r = buf_ignore_spaces(buf)) < 0)
         goto restore;