fix return value of error() & co

This commit is contained in:
Oswald Buddenhagen
2009-05-20 14:35:00 +02:00
parent a03f8643a7
commit bd0f0aa182

View File

@@ -2208,7 +2208,8 @@ ProItem::ProItemReturn ProFileEvaluator::Private::evaluateConditionalFunction(
}
QString msg = fixEnvVariables(args.first());
q->fileMessage(QString::fromLatin1("Project %1: %2").arg(function.toUpper(), msg));
return ProItem::ReturnFalse;
// ### Consider real termination in non-cumulative mode
return returnBool(function != QLatin1String("error"));
}
#if 0 // Way too dangerous to enable.
case T_SYSTEM: {