From: fennecdjay Date: Sun, 24 Nov 2019 00:02:06 +0000 (+0100) Subject: :bug: Fix tuples X-Git-Tag: nightly~2089 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=270aefbb5696b29992c7b34d9c70a4ff5dd1f6d5;p=gwion.git :bug: Fix tuples --- diff --git a/src/lib/tuple.c b/src/lib/tuple.c index 93a295f9..994007dc 100644 --- a/src/lib/tuple.c +++ b/src/lib/tuple.c @@ -138,7 +138,10 @@ static OP_CHECK(opck_at_tuple) { if(e->exp_type == ae_exp_decl) { DECL_OO(const Type, t, = (Type)VPTR(&bin->lhs->type->e->tuple->types, i)) e->d.exp_decl.td->xid->xid = insert_symbol(t->name); + const Exp next = e->next; + e->next = NULL; CHECK_BO(traverse_exp(env, e)) + e->next = next; bin->rhs->meta = ae_meta_var; } ++i;