mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Move Reporter to zeek namespace
This commit is contained in:
parent
7cedd94ee7
commit
bfab224d7c
132 changed files with 1010 additions and 987 deletions
|
@ -135,7 +135,7 @@ bool Specific_RE_Matcher::Compile(bool lazy)
|
|||
|
||||
if ( parse_status )
|
||||
{
|
||||
reporter->Error("error compiling pattern /%s/", pattern_text);
|
||||
zeek::reporter->Error("error compiling pattern /%s/", pattern_text);
|
||||
Unref(nfa);
|
||||
nfa = nullptr;
|
||||
return false;
|
||||
|
@ -157,7 +157,7 @@ bool Specific_RE_Matcher::Compile(bool lazy)
|
|||
bool Specific_RE_Matcher::CompileSet(const string_list& set, const int_list& idx)
|
||||
{
|
||||
if ( (size_t)set.length() != idx.size() )
|
||||
reporter->InternalError("compileset: lengths of sets differ");
|
||||
zeek::reporter->InternalError("compileset: lengths of sets differ");
|
||||
|
||||
rem = this;
|
||||
|
||||
|
@ -171,7 +171,7 @@ bool Specific_RE_Matcher::CompileSet(const string_list& set, const int_list& idx
|
|||
|
||||
if ( parse_status )
|
||||
{
|
||||
reporter->Error("error compiling pattern /%s/", set[i]);
|
||||
zeek::reporter->Error("error compiling pattern /%s/", set[i]);
|
||||
|
||||
if ( set_nfa && set_nfa != nfa )
|
||||
Unref(set_nfa);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue