$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r54396 - in branches/release: . tools/boostbook/xsl
From: daniel_james_at_[hidden]
Date: 2009-06-27 03:15:36
Author: danieljames
Date: 2009-06-27 03:15:35 EDT (Sat, 27 Jun 2009)
New Revision: 54396
URL: http://svn.boost.org/trac/boost/changeset/54396
Log:
Tweaked appearance of member classes/structs/unions in a class synopsis.
Merged revisions 53549 via svnmerge from 
https://svn.boost.org/svn/boost/trunk
........
  r53549 | fmhess | 2009-06-01 19:01:10 +0100 (Mon, 01 Jun 2009) | 5 lines
  
  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.
........
Properties modified: 
   branches/release/   (props changed)
Text files modified: 
   branches/release/tools/boostbook/xsl/type.xsl |    20 ++++++++++++++++----                    
   1 files changed, 16 insertions(+), 4 deletions(-)
Modified: branches/release/tools/boostbook/xsl/type.xsl
==============================================================================
--- branches/release/tools/boostbook/xsl/type.xsl	(original)
+++ branches/release/tools/boostbook/xsl/type.xsl	2009-06-27 03:15:35 EDT (Sat, 27 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">