mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Move Type types to zeek namespace
This commit is contained in:
parent
4a1b39a2be
commit
ed13972924
120 changed files with 2094 additions and 1934 deletions
|
@ -275,7 +275,7 @@ void Manager::StartType(IntrusivePtr<zeek::detail::ID> id)
|
|||
|
||||
static bool IsEnumType(zeek::detail::ID* id)
|
||||
{
|
||||
return id->IsType() ? id->GetType()->Tag() == TYPE_ENUM : false;
|
||||
return id->IsType() ? id->GetType()->Tag() == zeek::TYPE_ENUM : false;
|
||||
}
|
||||
|
||||
void Manager::Identifier(IntrusivePtr<zeek::detail::ID> id)
|
||||
|
@ -301,7 +301,7 @@ void Manager::Identifier(IntrusivePtr<zeek::detail::ID> id)
|
|||
|
||||
if ( id_info )
|
||||
{
|
||||
if ( IsFunc(id_info->GetID()->GetType()->Tag()) )
|
||||
if ( zeek::IsFunc(id_info->GetID()->GetType()->Tag()) )
|
||||
{
|
||||
// Function may already been seen (declaration versus body).
|
||||
id_info->AddComments(comment_buffer);
|
||||
|
@ -337,7 +337,7 @@ void Manager::Identifier(IntrusivePtr<zeek::detail::ID> id)
|
|||
CreateIdentifierInfo(std::move(id), script_info);
|
||||
}
|
||||
|
||||
void Manager::RecordField(const zeek::detail::ID* id, const TypeDecl* field,
|
||||
void Manager::RecordField(const zeek::detail::ID* id, const zeek::TypeDecl* field,
|
||||
const string& path)
|
||||
{
|
||||
if ( disabled )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue