Commit b9721774 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

don't report prf inclusions to derived classes

parent 81f6001f
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment