diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2006-10-29 18:39:28 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2006-10-29 18:39:28 (GMT) |
commit | d384b6c7459cffcbb30bdd0ab06bde6f0cd12688 (patch) | |
tree | 6386fc01aea029071bdcabdf150991c7632b5fd3 /src/pycode.l | |
parent | 6ad4771494b64943541d87639743de4d6618ebc4 (diff) | |
download | Doxygen-d384b6c7459cffcbb30bdd0ab06bde6f0cd12688.zip Doxygen-d384b6c7459cffcbb30bdd0ab06bde6f0cd12688.tar.gz Doxygen-d384b6c7459cffcbb30bdd0ab06bde6f0cd12688.tar.bz2 |
Release-1.5.1
Diffstat (limited to 'src/pycode.l')
-rw-r--r-- | src/pycode.l | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/pycode.l b/src/pycode.l index 8cc79a4..13e79cd 100644 --- a/src/pycode.l +++ b/src/pycode.l @@ -755,18 +755,21 @@ static void findMemberLink(CodeOutputInterface &ol,char *symName) if (g_currentDefinition) { DefinitionIntf *di = Doxygen::symbolMap->find(symName); - if (di->definitionType()==DefinitionIntf::TypeSymbolList) // multiple symbols + if (di) { - DefinitionListIterator dli(*(DefinitionList*)di); - Definition *sym; - for (dli.toFirst();(sym=dli.current());++dli) + if (di->definitionType()==DefinitionIntf::TypeSymbolList) // multiple symbols { - findMemberLink(ol,sym,symName); + DefinitionListIterator dli(*(DefinitionList*)di); + Definition *sym; + for (dli.toFirst();(sym=dli.current());++dli) + { + findMemberLink(ol,sym,symName); + } + } + else // single symbol + { + findMemberLink(ol,(Definition*)di,symName); } - } - else // single symbol - { - findMemberLink(ol,(Definition*)di,symName); } } //printf("sym %s not found\n",&yytext[5]); |