Internals: For debug, quote symbol table to see spaces.

This commit is contained in:
Wilson Snyder 2024-09-29 16:56:32 -04:00
parent d0ec6092b3
commit afeca21d73

View File

@ -64,8 +64,8 @@ public:
void dumpIterate(std::ostream& os, VSymConstMap& doneSymsr, const string& indent,
int numLevels, const string& searchName) const {
os << indent << "+ " << std::left << std::setw(30)
<< (searchName == "" ? "\"\"" : searchName) << std::setw(0) << std::right;
os << indent << "+ " << std::left << std::setw(30) << ("'"s + searchName + "'"s)
<< std::setw(0) << std::right;
os << " se" << cvtToHex(this) << std::setw(0);
os << " fallb=se" << cvtToHex(m_fallbackp);
if (m_symPrefix != "") os << " symPrefix=" << m_symPrefix;