Support reference for variables that are both static and mutable in

boostbook.

[SVN r52083]
This commit is contained in:
Daniel James 2009-03-31 19:43:35 +00:00
parent 39eb5bacb8
commit ce6a49b1fe

View File

@ -1152,11 +1152,14 @@
</xsl:attribute>
<!-- Specifiers -->
<xsl:if test="@static = 'yes'">
<xsl:attribute name="specifiers">static</xsl:attribute>
</xsl:if>
<xsl:if test="@mutable = 'yes'">
<xsl:attribute name="specifiers">mutable</xsl:attribute>
<xsl:variable name="specifiers">
<xsl:if test="@static = 'yes'"><xsl:text> static</xsl:text></xsl:if>
<xsl:if test="@mutable = 'yes'"><xsl:text> mutable</xsl:text></xsl:if>
</xsl:variable>
<xsl:if test="normalize-space($specifiers)">
<xsl:attribute name="specifiers">
<xsl:value-of select="normalize-space($specifiers)"/>
</xsl:attribute>
</xsl:if>
<type>