mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
making Exec methods non-const, so execution can manage side-information
This commit is contained in:
parent
c6830193f3
commit
01bf4b8484
4 changed files with 45 additions and 47 deletions
|
@ -960,7 +960,7 @@ CatchReturnStmt::CatchReturnStmt(StmtPtr _block, NameExprPtr _ret_var)
|
|||
ret_var = _ret_var;
|
||||
}
|
||||
|
||||
ValPtr CatchReturnStmt::Exec(Frame* f, StmtFlowType& flow) const
|
||||
ValPtr CatchReturnStmt::Exec(Frame* f, StmtFlowType& flow)
|
||||
{
|
||||
RegisterAccess();
|
||||
|
||||
|
@ -1047,7 +1047,7 @@ CheckAnyLenStmt::CheckAnyLenStmt(ExprPtr arg_e, int _expected_len)
|
|||
expected_len = _expected_len;
|
||||
}
|
||||
|
||||
ValPtr CheckAnyLenStmt::Exec(Frame* f, StmtFlowType& flow) const
|
||||
ValPtr CheckAnyLenStmt::Exec(Frame* f, StmtFlowType& flow)
|
||||
{
|
||||
RegisterAccess();
|
||||
flow = FLOW_NEXT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue