Token: Write function() in ast debug output

This commit is contained in:
Daniel Marjamäki 2020-01-12 15:04:25 +01:00
parent 0e75f16510
commit fd1809590c
1 changed files with 5 additions and 0 deletions

View File

@ -1507,6 +1507,11 @@ void Token::astStringVerboseRecursive(std::string& ret, const nonneg int indent1
ret += mStr;
if (mImpl->mValueType)
ret += " \'" + mImpl->mValueType->str() + '\'';
if (function()) {
std::ostringstream ostr;
ostr << "0x" << std::hex << function();
ret += " f:" + ostr.str();
}
ret += '\n';
if (mImpl->mAstOperand1) {