mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
updates to ZAM to track recent changes in script semantics
This commit is contained in:
parent
e7412e257f
commit
3f9f47980a
7 changed files with 38 additions and 2588 deletions
|
@ -941,6 +941,12 @@ TraversalCode CSE_ValidityChecker::PreExpr(const Expr* e)
|
|||
}
|
||||
break;
|
||||
|
||||
case EXPR_TABLE_CONSTRUCTOR:
|
||||
// These have EXPR_ASSIGN's in them that don't
|
||||
// correspond to actual assignments to variables,
|
||||
// so we don't want to traverse them.
|
||||
return TC_ABORTSTMT;
|
||||
|
||||
default:
|
||||
if ( in_aggr_mod_stmt && (t == EXPR_INDEX || t == EXPR_FIELD) )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue