X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c932d6135ca3e508f7136810b9b0bf79725290b9..0fe9720964da510a2b359af390a3053aace65f9f:/src/derives.c diff --git a/src/derives.c b/src/derives.c index ce5a6a5f..aa4d927f 100644 --- a/src/derives.c +++ b/src/derives.c @@ -47,12 +47,13 @@ print_derives (void) for (i = ntokens; i < nsyms; i++) { rule **rp; - fprintf (stderr, "\t%s derives\n", symbols[i]->tag); + fprintf (stderr, " %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, " %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; }