From: fennecdjay Date: Wed, 2 Oct 2019 08:43:39 +0000 (+0200) Subject: :art: Improve set_nspc X-Git-Tag: nightly~2198^2~176 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=79881972755986d5d310543b43360210cbf8d06a;p=gwion.git :art: Improve set_nspc --- diff --git a/src/parse/operator.c b/src/parse/operator.c index a5d35166..1484c156 100644 --- a/src/parse/operator.c +++ b/src/parse/operator.c @@ -126,7 +126,9 @@ ANN m_bool add_op(const Gwion gwion, const struct Op_Import* opi) { } ANN static void set_nspc(struct OpChecker* ock, const Nspc nspc) { - if(ock->opi->op == insert_symbol(ock->env->gwion->st, "@implicit")) { + if(ock->opi->op == insert_symbol(ock->env->gwion->st, "@implicit") || + ock->opi->op == insert_symbol(ock->env->gwion->st, "@access") || + ock->opi->op == insert_symbol(ock->env->gwion->st, "@repeat")) { struct Implicit* imp = (struct Implicit*)ock->opi->data; imp->e->nspc = nspc; return;