Print type information in AST dump

This commit is contained in:
Daniel Marjamäki 2016-01-01 13:54:07 +01:00
parent dea41e2390
commit 1e0979779e
1 changed files with 5 additions and 2 deletions

View File

@ -1258,8 +1258,11 @@ std::string Token::astStringVerbose(const unsigned int indent1, const unsigned i
std::string ret;
if (isExpandedMacro())
ret += "$";
ret += _str + "\n";
ret += '$';
ret += _str;
if (valuetype)
ret += " \'" + valuetype->str() + '\'';
ret += '\n';
if (_astOperand1) {
unsigned int i1 = indent1, i2 = indent2 + 2;