mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Merge remote-tracking branch 'origin/master' into topic/johanna/remove-serializer
This commit is contained in:
commit
a50b06d6c1
543 changed files with 6954 additions and 6478 deletions
|
@ -1672,6 +1672,10 @@ int is_assignable(BroType* t)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#define CHECK_TYPE(t) \
|
||||
if ( t1 == t || t2 == t ) \
|
||||
return t;
|
||||
|
||||
TypeTag max_type(TypeTag t1, TypeTag t2)
|
||||
{
|
||||
if ( t1 == TYPE_INTERVAL || t1 == TYPE_TIME )
|
||||
|
@ -1681,10 +1685,6 @@ TypeTag max_type(TypeTag t1, TypeTag t2)
|
|||
|
||||
if ( BothArithmetic(t1, t2) )
|
||||
{
|
||||
#define CHECK_TYPE(t) \
|
||||
if ( t1 == t || t2 == t ) \
|
||||
return t;
|
||||
|
||||
CHECK_TYPE(TYPE_DOUBLE);
|
||||
CHECK_TYPE(TYPE_INT);
|
||||
CHECK_TYPE(TYPE_COUNT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue