updates to ZAM to track recent changes in script semantics

This commit is contained in:
Vern Paxson 2021-12-04 20:24:39 -05:00
parent e7412e257f
commit 3f9f47980a
7 changed files with 38 additions and 2588 deletions

View file

@ -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) )
{