projects
/
gwion.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ae02be
)
:bug: Fix new template class flags
author
Jérémie Astor
<astor.jeremie@wanadoo.fr>
Sun, 10 May 2020 15:56:30 +0000
(17:56 +0200)
committer
Jérémie Astor
<astor.jeremie@wanadoo.fr>
Sun, 10 May 2020 15:56:30 +0000
(17:56 +0200)
src/lib/object_op.c
patch
|
blob
|
history
diff --git
a/src/lib/object_op.c
b/src/lib/object_op.c
index 6bc6df26f308fc82c570850cad75bc5ee3fa0923..6a789a674b7108ca3194976f52038815f3ddfdf1 100644
(file)
--- 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;
}