summaryrefslogtreecommitdiffstats
path: root/src/tagreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tagreader.cpp')
-rw-r--r--src/tagreader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tagreader.cpp b/src/tagreader.cpp
index 1292ac4..6e6f47c 100644
--- a/src/tagreader.cpp
+++ b/src/tagreader.cpp
@@ -1182,6 +1182,10 @@ void TagFileParser::buildLists(Entry *root)
case TagClassInfo::Category: ce->spec = Entry::Category; break;
}
ce->name = tci->name;
+ if (tci->kind==TagClassInfo::Protocol)
+ {
+ ce->name+="-p";
+ }
addDocAnchors(ce,tci->docAnchors);
TagInfo *ti = new TagInfo;
ti->tagName = m_tagName;