$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r53549 - trunk/tools/boostbook/xsl
From: fmhess_at_[hidden]
Date: 2009-06-01 14:01:11
Author: fmhess
Date: 2009-06-01 14:01:10 EDT (Mon, 01 Jun 2009)
New Revision: 53549
URL: http://svn.boost.org/trac/boost/changeset/53549
Log:
Tweaked appearance of member classes/structs/unions in a class synopsis
so they don't run together with previous typedefs or static constants, but
are separated by a blank line and comment.
Text files modified: 
   trunk/tools/boostbook/xsl/type.xsl |    20 ++++++++++++++++----                    
   1 files changed, 16 insertions(+), 4 deletions(-)
Modified: trunk/tools/boostbook/xsl/type.xsl
==============================================================================
--- trunk/tools/boostbook/xsl/type.xsl	(original)
+++ trunk/tools/boostbook/xsl/type.xsl	2009-06-01 14:01:10 EDT (Mon, 01 Jun 2009)
@@ -793,12 +793,24 @@
     </xsl:if>
 
     <!-- Nested classes/structs/unions -->
-    <xsl:apply-templates select="class|class-specialization|
+    <xsl:if test="class|class-specialization|struct|struct-specialization|union|union-specialization">
+      <xsl:text>
</xsl:text>
+      <xsl:if test="typedef|static-constant">
+        <xsl:text>
</xsl:text>
+      </xsl:if>
+      <xsl:call-template name="indent">
+        <xsl:with-param name="indentation" select="$indentation + 2"/>
+      </xsl:call-template>
+      <xsl:call-template name="highlight-comment">
+        <xsl:with-param name="text" select="'// member classes/structs/unions'"/>
+      </xsl:call-template>
+      <xsl:apply-templates select="class|class-specialization|
                                  struct|struct-specialization|
                                  union|union-specialization"
-      mode="reference">
-      <xsl:with-param name="indentation" select="$indentation + 2"/>
-    </xsl:apply-templates>
+        mode="reference">
+        <xsl:with-param name="indentation" select="$indentation + 2"/>
+      </xsl:apply-templates>
+    </xsl:if>
 
     <!-- Enums -->
     <xsl:apply-templates select="enum" mode="synopsis">