mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Fix for redefining built-in constants.
Turns out redefs weren't visibile to core-land due to initialization order.
This commit is contained in:
parent
597edcd3b6
commit
2e3b217667
5 changed files with 17 additions and 3 deletions
|
@ -634,11 +634,14 @@ void init_builtin_funcs()
|
|||
#include "reporter.bif.func_init"
|
||||
#include "strings.bif.func_init"
|
||||
|
||||
#include "__all__.bif.init.cc" // Autogenerated for compiling in the bif_target() code.
|
||||
|
||||
did_builtin_init = true;
|
||||
}
|
||||
|
||||
void init_builtin_funcs_subdirs()
|
||||
{
|
||||
#include "__all__.bif.init.cc" // Autogenerated for compiling in the bif_target() code.
|
||||
}
|
||||
|
||||
bool check_built_in_call(BuiltinFunc* f, CallExpr* call)
|
||||
{
|
||||
if ( f->TheFunc() != BifFunc::bro_fmt )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue