This commit is contained in:
Nikita Vasilev 2021-05-19 22:43:02 +03:00
parent 44b996df49
commit 90144f40c5

View File

@ -81,7 +81,8 @@ void traversePushNot(ASTPtr & node, bool add_negation)
}
/// Push Or inside And (actually pull AND to top)
void traversePushOr(ASTPtr & node) {
void traversePushOr(ASTPtr & node)
{
auto * func = node->as<ASTFunction>();
if (func && (func->name == "or" || func->name == "and"))