mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Minor Broxygen improvements, addresses BIT-1098.
- Internals: move type alias table to private static BroType member. - Sphinx extension: now uses absolute path to bro binary. - reST ouput formatting: remove "param" from function desriptions and change package overview docs so script link+summaries render consistently.
This commit is contained in:
parent
574018f478
commit
dedc39d784
14 changed files with 53 additions and 27 deletions
|
@ -273,10 +273,10 @@ void add_type(ID* id, BroType* t, attr_list* attr)
|
|||
// Clone the type to preserve type name aliasing.
|
||||
tnew = t->Clone();
|
||||
|
||||
type_aliases[new_type_name].insert(tnew);
|
||||
BroType::AddAlias(new_type_name, tnew);
|
||||
|
||||
if ( new_type_name != old_type_name && ! old_type_name.empty() )
|
||||
type_aliases[old_type_name].insert(tnew);
|
||||
BroType::AddAlias(old_type_name, tnew);
|
||||
|
||||
tnew->SetName(id->Name());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue