vcc: link procs to their symbol

parent 1537c213
......@@ -161,6 +161,7 @@ vcc_NewProc(struct vcc *tl, struct symbol *sym)
p->cname = VSB_new_auto();
AN(p->cname);
sym->proc = p;
p->sym = sym;
return (p);
}
......
......@@ -215,6 +215,7 @@ struct proc {
struct vsb *cname;
struct vsb *prologue;
struct vsb *body;
struct symbol *sym;
};
struct inifin {
......
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