Symbol database: Fixed --debug printing. Ticket: #4650
This commit is contained in:
parent
e91e7148de
commit
ee942c5592
|
@ -1756,8 +1756,13 @@ void SymbolDatabase::printOut(const char *title) const
|
||||||
std::cout << " )" << std::endl;
|
std::cout << " )" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (std::size_t i = 0; i < typeList.size(); i++) {
|
for (std::size_t i = 1; i < _variableList.size(); i++) {
|
||||||
std::cout << "_variableList[" << i << "] = " << _variableList[i] << std::endl;
|
std::cout << "_variableList[" << i << "]: " << _variableList[i];
|
||||||
|
if (_variableList[i]) {
|
||||||
|
std::cout << " " << _variableList[i]->name() << " "
|
||||||
|
<< _tokenizer->list.fileLine(_variableList[i]->nameToken());
|
||||||
|
}
|
||||||
|
std::cout << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue