X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/fb9c0b3360928887038a296c338025ced68e2d8c..c1d19e10c32844d17122b473840752003521d21b:/src/closure.c diff --git a/src/closure.c b/src/closure.c index 8652a22b..001b8316 100644 --- a/src/closure.c +++ b/src/closure.c @@ -1,7 +1,7 @@ /* Closures for Bison - Copyright (C) 1984, 1989, 2000, 2001, 2002, 2004 Free Software - Foundation, Inc. + Copyright (C) 1984, 1989, 2000, 2001, 2002, 2004, 2005 Free + Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -20,6 +20,7 @@ Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include #include "system.h" #include @@ -75,7 +76,7 @@ print_firsts (void) { symbol_number i, j; - fputs ("FIRSTS\n", stderr); + fprintf (stderr, "FIRSTS\n"); for (i = ntokens; i < nsyms; i++) { bitset_iterator iter; @@ -86,7 +87,7 @@ print_firsts (void) symbols[j + ntokens]->tag); } } - fputs ("\n\n", stderr); + fprintf (stderr, "\n\n"); } @@ -96,7 +97,7 @@ print_fderives (void) int i; rule_number r; - fputs ("FDERIVES\n", stderr); + fprintf (stderr, "FDERIVES\n"); for (i = ntokens; i < nsyms; i++) { bitset_iterator iter; @@ -107,7 +108,7 @@ print_fderives (void) rule_rhs_print (&rules[r], stderr); } } - fputs ("\n\n", stderr); + fprintf (stderr, "\n\n"); } /*------------------------------------------------------------------.