diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2006-12-02 14:54:35 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2006-12-02 14:54:35 (GMT) |
commit | d2d57f02eabbe81ea976f31e2af66c80c01a2a0b (patch) | |
tree | 0af428e60324ef94f5e04cee664374d5907c36ac /src/pycode.l | |
parent | d384b6c7459cffcbb30bdd0ab06bde6f0cd12688 (diff) | |
download | Doxygen-d2d57f02eabbe81ea976f31e2af66c80c01a2a0b.zip Doxygen-d2d57f02eabbe81ea976f31e2af66c80c01a2a0b.tar.gz Doxygen-d2d57f02eabbe81ea976f31e2af66c80c01a2a0b.tar.bz2 |
Release-1.5.1-20061202
Diffstat (limited to 'src/pycode.l')
-rw-r--r-- | src/pycode.l | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/pycode.l b/src/pycode.l index 13e79cd..96b805a 100644 --- a/src/pycode.l +++ b/src/pycode.l @@ -1,6 +1,6 @@ /****************************************************************************** * - * + * $Id$ * * Copyright (C) 1997-2006 by Dimitri van Heesch. * @@ -715,7 +715,7 @@ static void generateFunctionLink(CodeOutputInterface &ol,char *funcName) return; } -static void findMemberLink(CodeOutputInterface &ol,Definition *sym,const char *symName) +static bool findMemberLink(CodeOutputInterface &ol,Definition *sym,const char *symName) { //printf("sym %s outerScope=%s equal=%d\n", // sym->name().data(),sym->getOuterScope()->name().data(), @@ -741,8 +741,10 @@ static void findMemberLink(CodeOutputInterface &ol,Definition *sym,const char *s sym->getOutputFileBase(), anchor, symName); + return TRUE; } } + return FALSE; } static void findMemberLink(CodeOutputInterface &ol,char *symName) @@ -763,12 +765,12 @@ static void findMemberLink(CodeOutputInterface &ol,char *symName) Definition *sym; for (dli.toFirst();(sym=dli.current());++dli) { - findMemberLink(ol,sym,symName); + if (findMemberLink(ol,sym,symName)) return; } } else // single symbol { - findMemberLink(ol,(Definition*)di,symName); + if (findMemberLink(ol,(Definition*)di,symName)) return; } } } |