scopestack.cpp is not used