From: Jérémie Astor Date: Sun, 10 May 2020 15:56:30 +0000 (+0200) Subject: :bug: Fix new template class flags X-Git-Tag: nightly~1591 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=ad6c11b49ce5067f523b1e0812023b431e52311e;p=gwion.git :bug: Fix new template class flags --- diff --git a/src/lib/object_op.c b/src/lib/object_op.c index 6bc6df26..6a789a67 100644 --- a/src/lib/object_op.c +++ b/src/lib/object_op.c @@ -372,6 +372,8 @@ ANN static Class_Def template_class(const Env env, const Class_Def def, const Ty const Class_Def c = cpy_class_def(env->gwion->mp, def); c->base.xid = name; SET_FLAG(c, template | ae_flag_ref); + UNSET_FLAG(c, scan0 | ae_flag_scan1 | ae_flag_scan2 | + ae_flag_check | ae_flag_emit | ae_flag_valid); return c; }