]> git.saurik.com Git - bison.git/blobdiff - data/xslt/xml2dot.xsl
build: restore C90 compatibility
[bison.git] / data / xslt / xml2dot.xsl
index dceb8e1eebd3086b5d3293be5a5a568d2be2872e..93bec59989345afa569beff8257ef7f1bfbdd93b 100644 (file)
@@ -3,7 +3,7 @@
 <!--
     xml2dot.xsl - transform Bison XML Report into DOT.
 
-    Copyright (C) 2007-2012 Free Software Foundation, Inc.
+    Copyright (C) 2007-2013 Free Software Foundation, Inc.
 
     This file is part of Bison, the GNU Compiler Compiler.
 
     <xsl:with-param name="dst" select="@state"/>
     <xsl:with-param name="style">
       <xsl:choose>
-       <xsl:when test="@symbol = 'error'">
-         <xsl:text>dotted</xsl:text>
-       </xsl:when>
-       <xsl:when test="@type = 'shift'">
-         <xsl:text>solid</xsl:text>
-       </xsl:when>
-       <xsl:otherwise>
-         <xsl:text>dashed</xsl:text>
-       </xsl:otherwise>
+        <xsl:when test="@symbol = 'error'">
+          <xsl:text>dotted</xsl:text>
+        </xsl:when>
+        <xsl:when test="@type = 'shift'">
+          <xsl:text>solid</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>dashed</xsl:text>
+        </xsl:otherwise>
       </xsl:choose>
     </xsl:with-param>
     <xsl:with-param name="label">
       <xsl:if test="not(@symbol = 'error')">
-       <xsl:value-of select="@symbol"/>
+        <xsl:value-of select="@symbol"/>
       </xsl:if>
     </xsl:with-param>
   </xsl:call-template>