]> Nishi Git Mirror - gwion.git/commitdiff
:art: mark Object as compound
authorfennecdjay <fennecdjay@gmail.com>
Sat, 29 Oct 2022 11:03:02 +0000 (13:03 +0200)
committerfennecdjay <fennecdjay@gmail.com>
Sat, 29 Oct 2022 11:03:02 +0000 (13:03 +0200)
src/lib/object.c

index ade664753d1ef972863868fde1a0b6584134b3ec..490089fe975541dcd7d6b3c95d6d0fa3a58e018a 100644 (file)
@@ -122,6 +122,7 @@ static ID_EMIT(opem_this) {
 GWION_IMPORT(object) {
   const Type t_object = gwi_mk_type(gwi, "Object", SZ_INT, "@Compound");
   gwi_set_global_type(gwi, t_object, et_object);
+  set_tflag(t_object, tflag_compound);
   t_object->nspc = new_nspc(gwi->gwion->mp, "Object");
   struct SpecialId_ spid = {.ck = opck_this, .em = opem_this, .is_const = 1};
   gwi_specialid(gwi, "this", &spid);