- Added node pointer to ::dump output.  Helps debugging.
This commit is contained in:
Paul Beckingham 2014-08-22 16:07:03 -04:00
parent f59be41389
commit 8376d99e88

View file

@ -273,7 +273,8 @@ void Tree::dumpNode (Tree* t, int depth, std::stringstream& output)
for (int i = 0; i < depth; ++i) for (int i = 0; i < depth; ++i)
output << " "; output << " ";
output << "\033[1m" << t->_name << "\033[0m"; output << std::hex << t << " "
<< "\033[1m" << t->_name << "\033[0m";
// Dump attributes. // Dump attributes.
std::string atts; std::string atts;