From: Jérémie Astor Date: Tue, 7 Jul 2020 17:16:46 +0000 (+0200) Subject: :art: Use type->context in envset_push X-Git-Tag: nightly~1449 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=2a9e3cbd33cf856b4a98f35ee095ecaef7f32d16;p=gwion.git :art: Use type->context in envset_push --- diff --git a/src/env/envset.c b/src/env/envset.c index 1b0aa7c5..b5e77ff1 100644 --- a/src/env/envset.c +++ b/src/env/envset.c @@ -21,7 +21,7 @@ ANN static m_bool push(struct EnvSet *es, const Type t) { if(t->e->owner_class) CHECK_BB(push(es, t->e->owner_class)) else - env_push(es->env, NULL, es->env->context->nspc); + env_push(es->env, NULL, t->e->ctx->nspc); if(es->func && !(t->flag & es->flag)) CHECK_BB(es->func((void*)es->data, t->e->def)) if(GET_FLAG(t, template))