don't report prf inclusions to derived classes

This commit is contained in:
Oswald Buddenhagen
2009-08-04 20:48:22 +02:00
parent 81f6001f91
commit b972177444

View File

@@ -2694,7 +2694,14 @@ bool ProFileEvaluator::Private::evaluateFeatureFile(
} else {
bool cumulative = m_cumulative;
m_cumulative = false;
bool ok = evaluateFile(fn);
// Don't use evaluateFile() here to avoid the virtual parsedProFile().
// The path is fully normalized already.
ProFile pro(fn);
bool ok = false;
if (read(&pro))
ok = (pro.Accept(this) == ProItem::ReturnTrue);
m_cumulative = cumulative;
return ok;
}