put global statements into a quasi-function to support script optimization

This commit is contained in:
Vern Paxson 2021-03-24 21:22:03 -07:00
parent 8fb30f1d62
commit 95b89be571
4 changed files with 34 additions and 4 deletions

View file

@ -266,7 +266,7 @@ static bool expr_is_table_type_name(const zeek::detail::Expr* expr)
%%
bro:
zeek:
decl_list stmt_list
{
if ( zeek::detail::stmts )