diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-02-22 12:26:08 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-02-22 12:26:08 (GMT) |
commit | 21d9bf2b3988d3a965370e00fb09f43880d3a28d (patch) | |
tree | c3c64b7d1269742d5f85a65be360d0ecedb97fd4 /src/namespacedef.cpp | |
parent | 836af2f9510d10f2dd7d832025f214983387b3c6 (diff) | |
parent | a6083348a13f31728e72c5d99859c0dc8ea35013 (diff) | |
download | Doxygen-21d9bf2b3988d3a965370e00fb09f43880d3a28d.zip Doxygen-21d9bf2b3988d3a965370e00fb09f43880d3a28d.tar.gz Doxygen-21d9bf2b3988d3a965370e00fb09f43880d3a28d.tar.bz2 |
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r-- | src/namespacedef.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp index 21f925e..8236f70 100644 --- a/src/namespacedef.cpp +++ b/src/namespacedef.cpp @@ -68,6 +68,10 @@ NamespaceDef::NamespaceDef(const char *df,int dl,int dc, { m_type = CONSTANT_GROUP; } + else if (type && !strcmp("library", type)) + { + m_type = LIBRARY; + } else { m_type = NAMESPACE; @@ -1117,9 +1121,13 @@ QCString NamespaceDef::compoundTypeString() const { return "constants"; } + else if (isLibrary()) + { + return "library"; + } else { - err("Internal inconsistency: namespace in IDL not module or constant group\n"); + err("Internal inconsistency: namespace in IDL not module, library or constant group\n"); } } return ""; |