]> git.saurik.com Git - bison.git/blobdiff - src/derives.c
warnings: fix early exit of warnings treated as errors
[bison.git] / src / derives.c
index ce5a6a5fb61e63fd8bf41b1248b25d01594be9f9..890239295d9587738ca8fade57cc80ddd4b4e755 100644 (file)
@@ -49,10 +49,11 @@ print_derives (void)
       rule **rp;
       fprintf (stderr, "\t%s derives\n", symbols[i]->tag);
       for (rp = derives[i - ntokens]; *rp; ++rp)
-       {
-         fprintf (stderr, "\t\t%3d ", (*rp)->user_number);
-         rule_rhs_print (*rp, stderr);
-       }
+        {
+          fprintf (stderr, "\t\t%3d ", (*rp)->user_number);
+          rule_rhs_print (*rp, stderr);
+          fprintf (stderr, "\n");
+        }
     }
 
   fputs ("\n\n", stderr);
@@ -96,10 +97,10 @@ derives_compute (void)
       rule_list *p = dset[i - ntokens];
       derives[i - ntokens] = q;
       while (p)
-       {
-         *q++ = p->value;
-         p = p->next;
-       }
+        {
+          *q++ = p->value;
+          p = p->next;
+        }
       *q++ = NULL;
     }