Better use of operators priorities

This commit is contained in:
Julien Sentier 2012-02-23 13:01:22 +01:00 committed by Robin Sommer
parent c2ee15b09f
commit b84fd05912
3 changed files with 3 additions and 3 deletions

View file

@ -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;