mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/table-attribute-fixes'
* origin/topic/jsiwek/table-attribute-fixes: Fix various bugs with table/set attributes. Closes #866.
This commit is contained in:
commit
d9f90fcac0
8 changed files with 270 additions and 2 deletions
|
@ -3445,7 +3445,7 @@ Val* SetConstructorExpr::Eval(Frame* f) const
|
|||
if ( IsError() )
|
||||
return 0;
|
||||
|
||||
TableVal* aggr = new TableVal(type->AsTableType(), 0);
|
||||
TableVal* aggr = new TableVal(type->AsTableType(), attrs);
|
||||
const expr_list& exprs = op->AsListExpr()->Exprs();
|
||||
|
||||
loop_over_list(exprs, i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue