From c600479c201d82473885097eb6345983216498b5 Mon Sep 17 00:00:00 2001 From: Robert Reif Date: Fri, 15 Mar 2013 06:48:57 +0100 Subject: [PATCH] Symbol database: Tweaked debug printing of unknown types --- lib/tokenize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index d0d058fdc..26df1ccf5 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -9353,8 +9353,8 @@ void Tokenizer::printUnknownTypes() for (unsigned int i = 1; i <= _varId; ++i) { const Variable *var = _symbolDatabase->getVariableFromVarId(i); - // is unknown record type? - if (var && var->isClass() && !var->type()) { + // is unknown type? + if (var && !var->type() && !var->typeStartToken()->isStandardType()) { std::string name; // single token type?