mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
ZAM ignores new "assert" statement
This commit is contained in:
parent
2c5b5bb41f
commit
5165a04ae0
10 changed files with 28 additions and 4 deletions
|
@ -924,6 +924,16 @@ StmtPtr AssertStmt::Duplicate()
|
|||
return SetSucc(new AssertStmt(cond->Duplicate(), msg ? msg->Duplicate() : nullptr));
|
||||
}
|
||||
|
||||
bool AssertStmt::IsReduced(Reducer* c) const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
StmtPtr AssertStmt::DoReduce(Reducer* c)
|
||||
{
|
||||
return make_intrusive<NullStmt>();
|
||||
}
|
||||
|
||||
StmtPtr WhenStmt::Duplicate()
|
||||
{
|
||||
FuncType::CaptureList* cl_dup = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue