summaryrefslogtreecommitdiff
path: root/src/derives.c
diff options
context:
space:
mode:
authorJoel E. Denny <joeldenny@joeldenny.org>2011-07-24 17:50:37 -0400
committerJoel E. Denny <joeldenny@joeldenny.org>2011-07-24 18:13:05 -0400
commite9690142325711b320ef444768fdd40a087d02f7 (patch)
tree28c5cb5ed1b642dcae974e6ab3f927ab2157932a /src/derives.c
parentc12aa01f82a03db044985513a878497e5ab58377 (diff)
downloadbison-e9690142325711b320ef444768fdd40a087d02f7.tar.gz
global: remove unnecessary horizontal tabs.
This change was made by applying emacs' untabify function to nearly all files in Bison's repository. Required tabs in make files, ChangeLog, regexps, and test code were manually skipped. Other notable exceptions and changes are listed below. * bootstrap: Skip because we sync this with gnulib. * data/m4sugar/foreach.m4 * data/m4sugar/m4sugar.m4: Skip because we sync these with Autoconf. * djgpp: Skip because I don't know how to test djgpp properly, and this code appears to be unmaintained anyway. * README-hacking (Hacking): Specify that tabs should be avoided where not required.
Diffstat (limited to 'src/derives.c')
-rw-r--r--src/derives.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/derives.c b/src/derives.c
index 41cec8e1..48fe804a 100644
--- a/src/derives.c
+++ b/src/derives.c
@@ -49,10 +49,10 @@ 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);
+ }
}
fputs ("\n\n", stderr);
@@ -96,10 +96,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;
}