mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +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
|
@ -230,7 +230,8 @@ const ZAMStmt ZAMCompiler::CompileAssignToIndex(const NameExpr* lhs, const Index
|
|||
auto n = const_aggr ? nullptr : aggr->AsNameExpr();
|
||||
auto con = const_aggr ? aggr->AsConstExpr() : nullptr;
|
||||
|
||||
if ( indexes.length() == 1 && indexes[0]->GetType()->Tag() == TYPE_VECTOR )
|
||||
if ( indexes.length() == 1 && indexes[0]->GetType()->Tag() == TYPE_VECTOR &&
|
||||
aggr->GetType()->Tag() != TYPE_TABLE )
|
||||
{
|
||||
auto index1 = indexes[0];
|
||||
if ( index1->Tag() == EXPR_CONST )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue