vcc: error check in vcc_walksymbols() for the recursive case

Bail out upon first error, as for the non-recursive case.
parent 75acb5cc
......@@ -445,6 +445,7 @@ vcc_walksymbols(struct vcc *tl, const struct symtab *root,
assert(strcasecmp(st1->name, st2->name) >= 0);
st2 = st1;
vcc_walksymbols(tl, st1, func, kind);
ERRCHK(tl);
}
}
......
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