summaryrefslogtreecommitdiff
path: root/util/tagfile-to-devhelp2.xsl
diff options
context:
space:
mode:
authorDaniel Elstner <daniel.kitta@gmail.com>2010-01-06 06:58:46 +0100
committerDaniel Elstner <daniel.kitta@gmail.com>2010-01-06 06:58:46 +0100
commit60fffc2ec67657ab832d958a6a7e7acc944574ec (patch)
tree0925d810a1435a1b65f1edd0e3eebbb84c2a6bdd /util/tagfile-to-devhelp2.xsl
parent0fdf05dca74f244f3ff5c2d783ba6840ff85262d (diff)
downloadmm-common-60fffc2ec67657ab832d958a6a7e7acc944574ec.tar.gz
Include friend members in Devhelp index
* util/tagfile-to-devhelp2.xsl (keyword-list): Treat kind "friend" as a synonym for kind "function", so that friend members are included in the Devhelp keyword list.
Diffstat (limited to 'util/tagfile-to-devhelp2.xsl')
-rw-r--r--util/tagfile-to-devhelp2.xsl7
1 files changed, 5 insertions, 2 deletions
diff --git a/util/tagfile-to-devhelp2.xsl b/util/tagfile-to-devhelp2.xsl
index 0eb145a..35b129c 100644
--- a/util/tagfile-to-devhelp2.xsl
+++ b/util/tagfile-to-devhelp2.xsl
@@ -111,8 +111,11 @@
<xsl:apply-templates select="member" mode="keyword-list"/>
</xsl:template>
<!-- Match leaf compound members -->
- <xsl:template match="member[@kind='function' or @kind='typedef']" mode="keyword-list">
- <keyword type="{@kind}" xsl:use-attribute-sets="keyword-member"/>
+ <xsl:template match="member[@kind='typedef']" mode="keyword-list">
+ <keyword type="typedef" xsl:use-attribute-sets="keyword-member"/>
+ </xsl:template>
+ <xsl:template match="member[@kind='function' or @kind='friend']" mode="keyword-list">
+ <keyword type="function" xsl:use-attribute-sets="keyword-member"/>
</xsl:template>
<xsl:template match="member[@kind='enumeration']" mode="keyword-list">
<keyword type="enum" xsl:use-attribute-sets="keyword-member"/>