diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-04-10 18:36:52 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-04-10 18:36:52 (GMT) |
commit | 76e39987363c93fdd3f2d99ffdb9f87743d6af7c (patch) | |
tree | a604824ba5bbf13dd607ebd57c1a426a0d225d58 /src/docparser.cpp | |
parent | c8be4837b6a2a96cc3e57aa941645b9dc017e8b2 (diff) | |
download | Doxygen-76e39987363c93fdd3f2d99ffdb9f87743d6af7c.zip Doxygen-76e39987363c93fdd3f2d99ffdb9f87743d6af7c.tar.gz Doxygen-76e39987363c93fdd3f2d99ffdb9f87743d6af7c.tar.bz2 |
Release-1.4.2-20050410
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r-- | src/docparser.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 66b0203..c3208eb 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -864,7 +864,7 @@ static void handleLinkedWord(DocNode *parent,QList<DocNode> &children) resolveRef(g_context,g_token->name,g_inSeeBlock,&compound,&member)) { //printf("resolveRef %s = %p (linkable?=%d)\n",g_token->name.data(),member,member ? member->isLinkable() : FALSE); - if (member) // member link + if (member && member->isLinkable()) // member link { children.append(new DocLinkedWord(parent,name, @@ -874,7 +874,7 @@ static void handleLinkedWord(DocNode *parent,QList<DocNode> &children) ) ); } - else // compound link + else if (compound->isLinkable()) // compound link { if (compound->definitionType()==Definition::TypeFile) { @@ -892,8 +892,12 @@ static void handleLinkedWord(DocNode *parent,QList<DocNode> &children) ) ); } + else // not linkable + { + children.append(new DocWord(parent,name)); + } } - else if (!g_insideHtmlLink && g_token->name.at(len-1)==':') + else if (!g_insideHtmlLink && len>1 && g_token->name.at(len-1)==':') { // special case, where matching Foo: fails to be an Obj-C reference, // but Foo itself might be linkable. |