]> git.saurik.com Git - bison.git/commitdiff
Formatting change.
authorAkim Demaille <demaille@gostai.com>
Mon, 20 Apr 2009 21:48:38 +0000 (23:48 +0200)
committerAkim Demaille <demaille@gostai.com>
Mon, 20 Apr 2009 21:52:25 +0000 (23:52 +0200)
ChangeLog
src/print.c

index 04cff9e7af8225ec04e8bcf369b66c0f5553cca3..ea7cd649071176fd65a06404a8dd8c9f14ce3fe4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-20  Akim Demaille  <demaille@gostai.com>
+
+       Formatting change.
+
 2009-04-20  Akim Demaille  <demaille@gostai.com>
 
        bison: factoring.
index ddd76a60ff01e539ce953ce8af950cce5b15f5c8..440b0a8ae7ab200ebcd7f425fe5a456cc5e7a702 100644 (file)
@@ -1,6 +1,6 @@
 /* Print information on generated parser, for bison,
 
-   Copyright (C) 1984, 1986, 1989, 2000, 2001, 2002, 2003, 2004, 2005, 2007
+   Copyright (C) 1984, 1986, 1989, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009
    Free Software Foundation, Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
@@ -370,15 +370,15 @@ print_state (FILE *out, state *s)
 | Print information on the whole grammar.  |
 `-----------------------------------------*/
 
-#define END_TEST(End)                          \
-do {                                           \
-  if (column + strlen(buffer) > (End))         \
-                                             \
-      fprintf (out, "%s\n   ", buffer);                \
-      column = 3;                              \
-      buffer[0] = 0;                           \
-                                             \
-} while (0)
+#define END_TEST(End)                           \
+  do {                                          \
+    if (column + strlen (buffer) > (End))       \
+      {                                         \
+        fprintf (out, "%s\n   ", buffer);       \
+        column = 3;                             \
+        buffer[0] = 0;                          \
+      }                                         \
+  } while (0)
 
 
 static void