diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2012-06-10 09:28:22 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2012-06-10 09:28:22 (GMT) |
commit | 0ce3aea886f4e95da56d164b3944fd54d3d68f89 (patch) | |
tree | 6709ddc7b1764dc3b20bbac7eb36c05edcc91e03 /src/util.cpp | |
parent | 1983c30b71bf92b3fa6bfedbb98451c3b7f74498 (diff) | |
download | Doxygen-0ce3aea886f4e95da56d164b3944fd54d3d68f89.zip Doxygen-0ce3aea886f4e95da56d164b3944fd54d3d68f89.tar.gz Doxygen-0ce3aea886f4e95da56d164b3944fd54d3d68f89.tar.bz2 |
Release-1.8.1.1
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index 76aea95..4ea20a7 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -850,6 +850,9 @@ bool accessibleViaUsingNamespace(const NamespaceSDict *nl, const int MAX_STACK_SIZE = 1000; +/** Helper class representing the stack of items considered while resolving + * the scope. + */ class AccessStack { public: @@ -907,6 +910,7 @@ class AccessStack } private: + /** Element in the stack. */ struct AccessElem { Definition *scope; @@ -4665,6 +4669,7 @@ QCString substituteClassNames(const QCString &s) //---------------------------------------------------------------------- +/** Cache element for the file name to FileDef mapping cache. */ struct FindFileCacheElem { FindFileCacheElem(FileDef *fd,bool ambig) : fileDef(fd), isAmbig(ambig) {} @@ -5122,6 +5127,10 @@ done: } //printf("extractNamespace `%s' => `%s|%s'\n",scopeName.data(), // className.data(),namespaceName.data()); + if (className.right(2)=="-g" || className.right(2)=="-p") + { + className = className.left(className.length()-2); + } return; } |