]> git.saurik.com Git - bison.git/blobdiff - src/print-xml.c
tests: skip tests of file names that platform does not support.
[bison.git] / src / print-xml.c
index 72e61a848b7c7b5a2d1163e65cf516017a8774c1..d8becc54c4ddd571270796e6716fef809a5ff71d 100644 (file)
@@ -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];