Token::expressionString(): Fixed output of library types
This commit is contained in:
parent
e58344c2c9
commit
b41350e8d8
|
@ -1209,7 +1209,7 @@ static std::string stringFromTokenRange(const Token* start, const Token* end)
|
|||
ret << "unsigned ";
|
||||
if (tok->isLong())
|
||||
ret << (tok->isLiteral() ? "L" : "long ");
|
||||
if (tok->originalName().empty()) {
|
||||
if (tok->originalName().empty() || tok->isUnsigned() || tok->isLong()) {
|
||||
ret << tok->str();
|
||||
} else
|
||||
ret << tok->originalName();
|
||||
|
|
Loading…
Reference in New Issue