mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
gracefully deal with "eval" exceptions that occur during AST reduction
This commit is contained in:
parent
9a429808ab
commit
b7c9940221
2 changed files with 15 additions and 5 deletions
|
@ -18,11 +18,7 @@ class Reducer {
|
|||
public:
|
||||
Reducer() { }
|
||||
|
||||
StmtPtr Reduce(StmtPtr s)
|
||||
{
|
||||
reduction_root = std::move(s);
|
||||
return reduction_root->Reduce(this);
|
||||
}
|
||||
StmtPtr Reduce(StmtPtr s);
|
||||
|
||||
const DefSetsMgr* GetDefSetsMgr() const { return mgr; }
|
||||
void SetDefSetsMgr(const DefSetsMgr* _mgr) { mgr = _mgr; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue