mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Change presentation of enum val to include namespace.
Enum vals now add their full identifier string, including module namespace to ODescs.
This commit is contained in:
parent
a38c45b8bf
commit
2e853a3892
5 changed files with 40 additions and 25 deletions
|
@ -3104,10 +3104,6 @@ void EnumVal::ValDescribe(ODesc* d) const
|
|||
if ( ! ename )
|
||||
ename = "<undefined>";
|
||||
|
||||
const char* module_offset = strstr(ename, "::");
|
||||
if ( module_offset )
|
||||
ename = module_offset + 2;
|
||||
|
||||
d->Add(ename);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue