mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
tabify
This commit is contained in:
parent
a0fa5758a6
commit
bb8d6bca67
1 changed files with 27 additions and 29 deletions
|
@ -848,9 +848,7 @@ TableVal* RecordType::GetRecordFieldsVal(const RecordVal* rv) const
|
|||
nr->Assign(0, new StringVal("record " + ft->GetName()));
|
||||
else if ( ft->Tag() == TYPE_VECTOR )
|
||||
{
|
||||
string s = "vector[";
|
||||
s += type_name(ft->YieldType()->Tag());
|
||||
s += "]";
|
||||
string s = fmt("vector of %s", ft->YieldType()->Tag());
|
||||
nr->Assign(0, new StringVal(s));
|
||||
}
|
||||
else if ( ft->Tag() == TYPE_TABLE )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue