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:
Jon Siwek 2013-12-06 09:35:35 -06:00
parent 574018f478
commit dedc39d784
14 changed files with 53 additions and 27 deletions

View file

@ -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());