Token: Write function() in ast debug output
This commit is contained in:
parent
0e75f16510
commit
fd1809590c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue