scan: attempt to handle skipping redeclarations of symbols