diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-11-09 21:17:04 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-11-09 21:17:04 (GMT) |
commit | 188f7573ef12588a405ee8eed8289dce1a6eed08 (patch) | |
tree | 1fb5abcbf32aeccbd67ec595f3d19833380001c6 /src/doxygen.cpp | |
parent | 32557464b53467b2819e3fb820a7bbc459eb3e30 (diff) | |
download | Doxygen-188f7573ef12588a405ee8eed8289dce1a6eed08.zip Doxygen-188f7573ef12588a405ee8eed8289dce1a6eed08.tar.gz Doxygen-188f7573ef12588a405ee8eed8289dce1a6eed08.tar.bz2 |
Release-1.4.5-20051109
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 6bfedd4..0e3133d 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -1805,11 +1805,19 @@ static MemberDef *addVariableToFile( ) // variable already in the scope { - Debug::print(Debug::Variables,0, - " variable already found: scope=%s\n",md->getOuterScope()->name().data()); - addMemberDocs(root,md,def,0,FALSE); - md->setRefItems(root->sli); - return md; + if (! // not a php array + (getLanguageFromFileName(md->getFileDef()->name())==SrcLangExt_PHP) && + (md->argsString()!=root->args && root->args.find('[')!=-1) + ) + // not a php array variable + { + + Debug::print(Debug::Variables,0, + " variable already found: scope=%s\n",md->getOuterScope()->name().data()); + addMemberDocs(root,md,def,0,FALSE); + md->setRefItems(root->sli); + return md; + } } } } @@ -6789,7 +6797,7 @@ static void findMainPage(Entry *root) QCString title=root->args.stripWhiteSpace(); QCString indexName=Config_getBool("GENERATE_TREEVIEW")?"main":"index"; Doxygen::mainPage = new PageDef(root->fileName,root->startLine, - indexName, root->doc,title); + indexName, root->brief+root->doc,title); //setFileNameForSections(root->anchors,"index",Doxygen::mainPage); Doxygen::mainPage->setFileName(indexName); @@ -6983,7 +6991,7 @@ static void buildExampleList(Entry *root) else { PageDef *pd=new PageDef(root->fileName,root->startLine, - root->name,root->doc,root->args); + root->name,root->brief+root->doc,root->args); pd->setFileName(convertNameToFile(pd->name()+"-example")); pd->addSectionsToDefinition(root->anchors); //pi->addSections(root->anchors); @@ -8709,7 +8717,7 @@ void parseInput() msg("Adding todo/test/bug list items...\n"); addListReferences(); - if (Config_getBool("SHOW_DIRECTORIES")) + if (Config_getBool("SHOW_DIRECTORIES") && Config_getBool("DIRECTORY_GRAPH")) { msg("Computing dependencies between directories...\n"); computeDirDependencies(); |