mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
ZAM support for keeping "assert" statements
This commit is contained in:
parent
a328185a8f
commit
908e8a3a27
8 changed files with 113 additions and 17 deletions
|
@ -480,7 +480,7 @@ void CPPCompile::GenForOverString(const ExprPtr& str, const IDPList* loop_vars)
|
|||
}
|
||||
|
||||
void CPPCompile::GenAssertStmt(const AssertStmt* a) {
|
||||
auto& cond = a->Cond();
|
||||
auto cond = a->StmtExpr();
|
||||
auto& msg = a->Msg();
|
||||
|
||||
Emit("{ // begin a new scope for internal \"assert\" variables");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue