mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
remove deprecated union and timer types, addressing #1898
This commit is contained in:
parent
d77fd8305d
commit
11f8729997
9 changed files with 28 additions and 78 deletions
|
@ -4275,8 +4275,6 @@ ScheduleExpr::ScheduleExpr(ExprPtr arg_when, EventExprPtr arg_event)
|
|||
|
||||
if ( bt != TYPE_TIME && bt != TYPE_INTERVAL )
|
||||
ExprError("schedule expression requires a time or time interval");
|
||||
else
|
||||
SetType(base_type(TYPE_TIMER));
|
||||
}
|
||||
|
||||
bool ScheduleExpr::IsPure() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue