diff options
author | albert-github <albert.tests@gmail.com> | 2014-02-20 19:47:17 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2014-02-20 19:47:17 (GMT) |
commit | b0456fbefa864b33611f289818deeaaf791c17c9 (patch) | |
tree | 82071291d54bcb333c8bd1be6d6242925016c74a /src/namespacedef.h | |
parent | 9b76c1a9bb7039962933aeef398bb7aa2f59c3a5 (diff) | |
download | Doxygen-b0456fbefa864b33611f289818deeaaf791c17c9.zip Doxygen-b0456fbefa864b33611f289818deeaaf791c17c9.tar.gz Doxygen-b0456fbefa864b33611f289818deeaaf791c17c9.tar.bz2 |
Bug 724241 - Internal inconsistency: namespace in IDL
Library was missing in the list of namespaces. In scanner.l constants, module and library are handled in the same way. In namespace.{h,cpp} only constants and module were handled, now also library is handled in a similar way.
Diffstat (limited to 'src/namespacedef.h')
-rw-r--r-- | src/namespacedef.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/namespacedef.h b/src/namespacedef.h index fedd410..4613480 100644 --- a/src/namespacedef.h +++ b/src/namespacedef.h @@ -68,6 +68,7 @@ class NamespaceDef : public Definition bool isConstantGroup() const { return CONSTANT_GROUP == m_type; } bool isModule() const { return MODULE == m_type; } + bool isLibrary() const { return LIBRARY == m_type; } bool isLinkableInProject() const; bool isLinkable() const; @@ -132,7 +133,7 @@ class NamespaceDef : public Definition ClassSDict *classSDict; NamespaceSDict *namespaceSDict; bool m_subGrouping; - enum { NAMESPACE, MODULE, CONSTANT_GROUP } m_type; + enum { NAMESPACE, MODULE, CONSTANT_GROUP, LIBRARY } m_type; bool m_isPublished; }; |