mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Deprecate BroType::YieldType(), replace with Yield()
This commit is contained in:
parent
bb25f5d568
commit
f26904e031
19 changed files with 156 additions and 190 deletions
|
@ -141,7 +141,7 @@ RuleConditionEval::RuleConditionEval(const char* func)
|
|||
// Validate argument quantity and type.
|
||||
FuncType* f = id->Type()->AsFuncType();
|
||||
|
||||
if ( f->YieldType()->Tag() != TYPE_BOOL )
|
||||
if ( f->Yield()->Tag() != TYPE_BOOL )
|
||||
rules_error("eval function type must yield a 'bool'", func);
|
||||
|
||||
TypeList tl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue