|
Boost-Commit : |
From: chris_at_[hidden]
Date: 2008-05-12 04:35:57
Author: chris_kohlhoff
Date: 2008-05-12 04:35:56 EDT (Mon, 12 May 2008)
New Revision: 45293
URL: http://svn.boost.org/trac/boost/changeset/45293
Log:
Don't generate enum value lists for empty enums.
Text files modified:
trunk/libs/asio/doc/reference.qbk | 5 -----
trunk/libs/asio/doc/reference.xsl | 5 +++--
2 files changed, 3 insertions(+), 7 deletions(-)
Modified: trunk/libs/asio/doc/reference.qbk
==============================================================================
--- trunk/libs/asio/doc/reference.qbk (original)
+++ trunk/libs/asio/doc/reference.qbk 2008-05-12 04:35:56 EDT (Mon, 12 May 2008)
@@ -28662,11 +28662,6 @@
enum ssl_errors
-[heading Values]
-[variablelist
-
-]
-
[endsect]
Modified: trunk/libs/asio/doc/reference.xsl
==============================================================================
--- trunk/libs/asio/doc/reference.xsl (original)
+++ trunk/libs/asio/doc/reference.xsl 2008-05-12 04:35:56 EDT (Mon, 12 May 2008)
@@ -916,8 +916,8 @@
<xsl:template name="enum">
- enum <xsl:value-of select="name"/>
-
+ enum <xsl:value-of select="name"/><xsl:text>
+</xsl:text><xsl:if test="count(enumvalue) > 0">
[heading Values]
[variablelist
<xsl:for-each select="enumvalue">
@@ -927,6 +927,7 @@
]
</xsl:for-each>
]
+</xsl:if>
</xsl:template>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk