function.xsl: Fix problem with ungrouped methods

[SVN r21065]
This commit is contained in:
Douglas Gregor 2003-12-02 06:08:29 +00:00
parent 02fd5d3611
commit 91c19f9b91

View File

@ -731,7 +731,19 @@
<xsl:template name="function.documentation.compact"> <xsl:template name="function.documentation.compact">
<xsl:param name="text"/> <xsl:param name="text"/>
<listitem><xsl:copy-of select="$text"/></listitem>
<xsl:choose>
<xsl:when test="count(ancestor::free-function-group) &gt; 0
or count(ancestor::method-group) &gt; 0
or local-name(.)='constructor'
or local-name(.)='copy-assignment'
or local-name(.)='destructor'">
<listitem><xsl:copy-of select="$text"/></listitem>
</xsl:when>
<xsl:otherwise>
<xsl:copy-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template> </xsl:template>
<xsl:template name="function.documentation.standardese"> <xsl:template name="function.documentation.standardese">