Simplify the parsing of unnamed globals. No functionality changed.