mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Removing global_attrs from parser, per #11, and also record
attributes. Both aren't used anywhere. Along with these goes some more now unused code. Closes #11.
This commit is contained in:
parent
e1ab9b1c69
commit
75335b933e
8 changed files with 35 additions and 155 deletions
|
@ -414,15 +414,6 @@ bool Val::DoUnserialize(UnserialInfo* info)
|
|||
return false;
|
||||
}
|
||||
|
||||
RecordVal* Val::GetAttribs(bool instantiate)
|
||||
{
|
||||
if ( ! instantiate || attribs )
|
||||
return attribs;
|
||||
|
||||
attribs = new RecordVal(type->AttributesType());
|
||||
return attribs;
|
||||
}
|
||||
|
||||
int Val::IsZero() const
|
||||
{
|
||||
switch ( type->InternalType() ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue