fix return in collectMacrodefs()
insert error count increments