flexelint vcc

Another case of struct instance names which we want to have, even though
we do not currently use them.
parent a2330f6a
......@@ -264,6 +264,7 @@ VCC_SymbolGet(struct vcc *tl, vcc_ns_t ns, vcc_kind_t kind,
AN(tl);
CHECK_OBJ_NOTNULL(ns, VCC_NAMESPACE_MAGIC);
AN(ns->name);
CHECK_OBJ_NOTNULL(kind, KIND_MAGIC);
AN(e);
AN(x);
......
......@@ -119,6 +119,7 @@ vcc_AddUses(struct vcc *tl, const struct token *t1, const struct token *t2,
AN(pu);
AN(sym);
AN(use);
AN(use->name);
pu->t1 = t1;
pu->t2 = t2;
if (pu->t2 == NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment