summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-02-22 12:26:08 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-02-22 12:26:08 (GMT)
commit21d9bf2b3988d3a965370e00fb09f43880d3a28d (patch)
treec3c64b7d1269742d5f85a65be360d0ecedb97fd4 /src/namespacedef.cpp
parent836af2f9510d10f2dd7d832025f214983387b3c6 (diff)
parenta6083348a13f31728e72c5d99859c0dc8ea35013 (diff)
downloadDoxygen-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.cpp10
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 "";