diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2006-07-16 20:10:06 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2006-07-16 20:10:06 (GMT) |
commit | 3a7dcb4cbc953fcf5ab62243743707e5e0e3d379 (patch) | |
tree | f167dcd5d5f9dcea2ade9e968e78c2a085f0f1fd /src/pycode.l | |
parent | 07ee85ebcc91a12df8a92078f33e700e5f9f40e8 (diff) | |
download | Doxygen-3a7dcb4cbc953fcf5ab62243743707e5e0e3d379.zip Doxygen-3a7dcb4cbc953fcf5ab62243743707e5e0e3d379.tar.gz Doxygen-3a7dcb4cbc953fcf5ab62243743707e5e0e3d379.tar.bz2 |
Release-1.4.7-20060716
Diffstat (limited to 'src/pycode.l')
-rw-r--r-- | src/pycode.l | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/pycode.l b/src/pycode.l index ae3c543..306a042 100644 --- a/src/pycode.l +++ b/src/pycode.l @@ -696,12 +696,15 @@ static void generateFunctionLink(CodeOutputInterface &ol,char *funcName) if (!locScope.isEmpty() && (ccd=g_codeClassSDict[locScope])) { //printf("using classScope %s\n",g_classScope.data()); - BaseClassListIterator bcli(*ccd->baseClasses()); - for ( ; bcli.current() ; ++bcli) + if (ccd->baseClasses()) { - if (getLink(bcli.current()->classDef->name(),locFunc,ol,funcName)) + BaseClassListIterator bcli(*ccd->baseClasses()); + for ( ; bcli.current() ; ++bcli) { - return; + if (getLink(bcli.current()->classDef->name(),locFunc,ol,funcName)) + { + return; + } } } } |