Only output parameter if it has a name.

This commit is contained in:
Michael Jumper 2012-09-02 23:27:19 -07:00
parent 23f799fa33
commit a959dff6f6

View File

@ -44,9 +44,11 @@
<xsl:for-each select="param"> <xsl:for-each select="param">
<paramdef> <paramdef>
<xsl:value-of select="type"/> <xsl:value-of select="type"/>
<parameter> <xsl:if test="declname">
<xsl:value-of select="declname"/> <parameter>
</parameter> <xsl:value-of select="declname"/>
</parameter>
</xsl:if>
</paramdef> </paramdef>
</xsl:for-each> </xsl:for-each>
</funcprototype> </funcprototype>