From 79881972755986d5d310543b43360210cbf8d06a Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Wed, 2 Oct 2019 10:43:39 +0200 Subject: [PATCH] :art: Improve set_nspc --- src/parse/operator.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.43.0