refacroring

This commit is contained in:
FArthur-cmd 2022-07-13 14:48:02 +03:00
parent 6e2812490b
commit 8ddc2578a2

View File

@ -528,12 +528,7 @@ bool ANNCondition::matchMainParts(RPN::iterator & iter, const RPN::iterator & en
}
// Final checks of correctness
if (!identifier_found || expr.target.empty())
{
return false;
}
return true;
return identifier_found && !expr.target.empty();
}
// Gets float or int from AST node