mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Remove support for using &&/|| with patterns.
This was never documented and previously deprecated.
This commit is contained in:
parent
4c19e60488
commit
ed644e39a0
1 changed files with 0 additions and 7 deletions
|
@ -1883,13 +1883,6 @@ BoolExpr::BoolExpr(BroExprTag arg_tag, Expr* arg_op1, Expr* arg_op2)
|
|||
else
|
||||
SetType(base_type(TYPE_BOOL));
|
||||
}
|
||||
|
||||
else if ( bt1 == TYPE_PATTERN && bt2 == bt1 )
|
||||
{
|
||||
reporter->Warning("&& and || operators deprecated for pattern operands");
|
||||
SetType(base_type(TYPE_PATTERN));
|
||||
}
|
||||
|
||||
else
|
||||
ExprError("requires boolean operands");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue