diff options
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r-- | src/namespacedef.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp index 39904f0..7a51f14 100644 --- a/src/namespacedef.cpp +++ b/src/namespacedef.cpp @@ -564,12 +564,7 @@ void NamespaceDef::writeDocumentation(OutputList &ol) ol.endContents(); - if (generateTreeView) - { - writeNavigationPath(ol); - } - - endFile(ol,TRUE); + endFileWithNavPath(this,ol); if (generateTagFile) { @@ -813,8 +808,13 @@ bool NamespaceSDict::declVisible() const void NamespaceSDict::writeDeclaration(OutputList &ol,const char *title,bool localName) { + + if (count()==0) return; // no namespaces in the list + if (Config_getBool("OPTIMIZE_OUTPUT_VHDL")) return; + + SDict<NamespaceDef>::Iterator ni(*this); NamespaceDef *nd; bool found=FALSE; |