mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Better use of operators priorities
This commit is contained in:
parent
c2ee15b09f
commit
b84fd05912
3 changed files with 3 additions and 3 deletions
|
@ -231,7 +231,7 @@ bool StateAccess::CheckOldSet(const char* op, ID* id, Val* index,
|
|||
|
||||
bool StateAccess::MergeTables(TableVal* dst, Val* src)
|
||||
{
|
||||
if ( ! src->Type()->Tag() == TYPE_TABLE )
|
||||
if ( src->Type()->Tag() != TYPE_TABLE )
|
||||
{
|
||||
reporter->Error("type mismatch while merging tables");
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue