mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Move zeekygen code to zeek::zeekygen::detail namespace
This commit is contained in:
parent
80ebb4b67a
commit
5a2ac84eee
23 changed files with 213 additions and 105 deletions
|
@ -1,6 +1,10 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#include "Manager.h"
|
||||
|
||||
#include <utility>
|
||||
#include <cstdlib>
|
||||
|
||||
#include "plugin/Manager.h"
|
||||
#include "util.h"
|
||||
#include "Info.h"
|
||||
|
@ -9,12 +13,10 @@
|
|||
#include "IdentifierInfo.h"
|
||||
#include "Expr.h"
|
||||
|
||||
#include <utility>
|
||||
#include <cstdlib>
|
||||
|
||||
using namespace zeekygen;
|
||||
using namespace std;
|
||||
|
||||
namespace zeek::zeekygen::detail {
|
||||
|
||||
static void DbgAndWarn(const char* msg)
|
||||
{
|
||||
if ( zeek::reporter->Errors() )
|
||||
|
@ -457,3 +459,5 @@ string Manager::GetEnumTypeName(const string& id) const
|
|||
map<string, string>::const_iterator it = enum_mappings.find(id);
|
||||
return it == enum_mappings.end() ? "" : it->second;
|
||||
}
|
||||
|
||||
} // namespace zeek::zeekygen::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue