From 83b66dddb649f9bc5331970c0a1ef82396715e86 Mon Sep 17 00:00:00 2001
From: Akim Demaille <demaille@gostai.com>
Date: Thu, 11 Jun 2009 14:50:25 +0200
Subject: [PATCH] style changes.

	* data/xslt/xml2dot.xsl, data/xslt/xml2xhtml.xsl: Space changes.
	* src/print-xml.c: Style changes.
	* tests/conflicts.at: Comment changes.
---
 ChangeLog               |  7 +++++++
 data/xslt/xml2dot.xsl   |  8 ++++----
 data/xslt/xml2xhtml.xsl |  8 ++++----
 src/print-xml.c         |  9 +++++----
 tests/conflicts.at      | 18 +++++++++---------
 5 files changed, 29 insertions(+), 21 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 68599de6..c3333b9c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-06-11  Akim Demaille  <demaille@gostai.com>
+
+	style changes.
+	* data/xslt/xml2dot.xsl, data/xslt/xml2xhtml.xsl: Space changes.
+	* src/print-xml.c: Style changes.
+	* tests/conflicts.at: Comment changes.
+
 2009-06-11  Akim Demaille  <demaille@gostai.com>
 
 	xml: beware of user strings used to give a %prec to rules.
diff --git a/data/xslt/xml2dot.xsl b/data/xslt/xml2dot.xsl
index 130692e3..aa9bde0a 100644
--- a/data/xslt/xml2dot.xsl
+++ b/data/xslt/xml2dot.xsl
@@ -3,7 +3,7 @@
 <!--
     xml2dot.xsl - transform Bison XML Report into DOT.
 
-    Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+    Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
 
     This file is part of Bison, the GNU Compiler Compiler.
 
@@ -196,11 +196,11 @@
         <xsl:with-param name="search" select="$search"/>
         <xsl:with-param name="replace" select="$replace"/>
       </xsl:call-template>
-    </xsl:when> 
+    </xsl:when>
     <xsl:otherwise>
-      <xsl:value-of select="$subject"/>  
+      <xsl:value-of select="$subject"/>
     </xsl:otherwise>
-  </xsl:choose>            
+  </xsl:choose>
 </xsl:template>
 
 </xsl:stylesheet>
diff --git a/data/xslt/xml2xhtml.xsl b/data/xslt/xml2xhtml.xsl
index 91dc6300..e33f3eab 100644
--- a/data/xslt/xml2xhtml.xsl
+++ b/data/xslt/xml2xhtml.xsl
@@ -3,7 +3,7 @@
 <!--
     xml2html.xsl - transform Bison XML Report into XHTML.
 
-    Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+    Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
 
     This file is part of Bison, the GNU Compiler Compiler.
 
@@ -48,15 +48,15 @@
 	font-size: 9pt;
       }
       a:link {
- 	color: #1f00ff;
+	color: #1f00ff;
 	text-decoration: none;
       }
       a:visited {
- 	color: #1f00ff;
+	color: #1f00ff;
 	text-decoration: none;
       }
       a:hover {
- 	color: red;
+	color: red;
       }
       #menu a {
         text-decoration: underline;
diff --git a/src/print-xml.c b/src/print-xml.c
index 72e61a84..d8becc54 100644
--- a/src/print-xml.c
+++ b/src/print-xml.c
@@ -248,10 +248,11 @@ print_reductions (FILE *out, int level, state *s)
   int report = false;
   int i, j;
 
-  if (reds->num == 0) {
-    xml_puts (out, level, "<reductions/>");
-    return;
-  }
+  if (reds->num == 0)
+    {
+      xml_puts (out, level, "<reductions/>");
+      return;
+    }
 
   if (yydefact[s->number] != 0)
     default_reduction = &rules[yydefact[s->number] - 1];
diff --git a/tests/conflicts.at b/tests/conflicts.at
index bf854e8e..2647c8d2 100644
--- a/tests/conflicts.at
+++ b/tests/conflicts.at
@@ -524,9 +524,9 @@ input.y: expected 2 shift/reduce conflicts
 AT_CLEANUP
 
 
-## ------------------------------ ##
-## %expect with reduce conflicts  ##
-## ------------------------------ ##
+## ------------------------------- ##
+## %expect with reduce conflicts.  ##
+## ------------------------------- ##
 
 AT_SETUP([%expect with reduce conflicts])
 
@@ -587,9 +587,9 @@ AT_BISON_CHECK([-o input.c input.y], 0, [],
 AT_CLEANUP
 
 
-## ---------------------------- ##
-## %no-default-prec with %prec  ##
-## ---------------------------- ##
+## ----------------------------- ##
+## %no-default-prec with %prec.  ##
+## ----------------------------- ##
 
 AT_SETUP([%no-default-prec with %prec])
 
@@ -611,9 +611,9 @@ AT_BISON_CHECK([-o input.c input.y])
 AT_CLEANUP
 
 
-## ---------------- ##
-## %default-prec    ##
-## ---------------- ##
+## --------------- ##
+## %default-prec.  ##
+## --------------- ##
 
 AT_SETUP([%default-prec])
 
-- 
2.47.2