Otherwise I predict serious trouble when someone gets the reference
counting wrong.
unsigned f;
assert(((void)"Key is not structured", k->e == KENC_STRUCT));
unsigned f;
assert(((void)"Key is not structured", k->e == KENC_STRUCT));
+ assert(((void)"Key has multiple references", k->ref == 1));
if (!kd) {
ks = sym_find(&k->u.s, tag, -1, 0, 0);
if (ks) sym_remove(&k->u.s, ks);
if (!kd) {
ks = sym_find(&k->u.s, tag, -1, 0, 0);
if (ks) sym_remove(&k->u.s, ks);