From d969219b8d2da6b932299b4f1e6edb98746206ef Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Wed, 21 Aug 2013 15:51:26 +0200 Subject: Fixed regression when nested class were processed before their parent --- src/doxygen.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 9ea2193..14d34c0 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -1293,11 +1293,13 @@ static void addClassToContext(EntryNav *rootNav) { tagName = rootNav->tagInfo()->tagName; refFileName = rootNav->tagInfo()->fileName; - } - int i; - if ((i=fullName.find("::"))!=-1) - { - buildScopeFromQualifiedName(fullName,fullName.contains("::"),root->lang); + int i; + if ((i=fullName.find("::"))!=-1) + // symbols imported via tag files may come without the parent scope, + // so we artificially create it here + { + buildScopeFromQualifiedName(fullName,fullName.contains("::"),root->lang); + } } cd=new ClassDef(root->fileName,root->startLine,root->startColumn, fullName,sec,tagName,refFileName,TRUE,root->spec&Entry::Enum); -- cgit v0.12