X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/6e30ede87a1c39c53842a6a747ecd9f7484d92a5..72cd9a913f6d282c5e24990505c2c820bda2bf1b:/src/derives.c?ds=inline diff --git a/src/derives.c b/src/derives.c index 87c98836..a0afbb3e 100644 --- a/src/derives.c +++ b/src/derives.c @@ -1,7 +1,7 @@ /* Match rules with nonterminals for bison, - Copyright (C) 1984, 1989, 2000, 2001, 2002, 2003, 2005, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1984, 1989, 2000-2003, 2005, 2009-2012 Free Software + Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -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; }