Replace unrecognized namespace ending comments. This will help in particular when a namespace ending comment is mistyped or doesn't fit the regexp for other reason, e.g.:
namespace a { namespace b { namespace { } // anoynmous namespace } // b } // namesapce a