]> git.saurik.com Git - bison.git/blobdiff - src/print-xml.c
* cfg.mk (gnulib_dir): Assume gnulib is a subdirectory.
[bison.git] / src / print-xml.c
index 72e61a848b7c7b5a2d1163e65cf516017a8774c1..0d68171bf1ff13e8d464c049cc18f974db1f8350 100644 (file)
@@ -1,6 +1,6 @@
 /* Print an xml on generated parser, for Bison,
 
-   Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2009-2010 Free Software Foundation, Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
 
@@ -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];