Move Location to zeek::detail and BroObj to zeek

This commit is contained in:
Tim Wojtulewicz 2020-06-24 13:09:43 -07:00
parent 58c6e10b62
commit 40ecede4ea
41 changed files with 158 additions and 131 deletions

View file

@ -252,7 +252,7 @@ void Manager::StartType(zeek::detail::IDPtr id)
if ( disabled )
return;
if ( id->GetLocationInfo() == &no_location )
if ( id->GetLocationInfo() == &zeek::detail::no_location )
{
DbgAndWarn(fmt("Can't generate zeekygen doumentation for %s, "
"no location available", id->Name()));
@ -313,7 +313,7 @@ void Manager::Identifier(zeek::detail::IDPtr id)
return;
}
if ( id->GetLocationInfo() == &no_location )
if ( id->GetLocationInfo() == &zeek::detail::no_location )
{
// Internally-created identifier (e.g. file/proto analyzer enum tags).
// Handled specially since they don't have a script location.