mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
preparing for a new Stmt subclass for ZAM function bodies
This commit is contained in:
parent
51fee244c9
commit
dbb509448f
2 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,7 @@ const char* stmt_name(StmtTag t)
|
|||
"catch-return",
|
||||
"check-any-length",
|
||||
"compiled-C++",
|
||||
"ZAM", "ZAM-resumption",
|
||||
"null",
|
||||
};
|
||||
|
||||
|
|
|
@ -21,6 +21,8 @@ enum StmtTag {
|
|||
STMT_CATCH_RETURN, // for reduced InlineExpr's
|
||||
STMT_CHECK_ANY_LEN, // internal reduced statement
|
||||
STMT_CPP, // compiled C++
|
||||
STMT_ZAM, // a ZAM function body
|
||||
STMT_ZAM_RESUMPTION, // resumes ZAM execution for "when" statements
|
||||
STMT_NULL
|
||||
#define NUM_STMTS (int(STMT_NULL) + 1)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue