diff options
author | steve <steve@FreeBSD.org> | 1997-04-29 03:05:38 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1997-04-29 03:05:38 +0000 |
commit | df56a86d0b7f179d8ede8eefa4e0d094a63352c1 (patch) | |
tree | cb997f0ec4697e772fc4093486607d65b7214e38 /usr.bin/yacc/output.c | |
parent | b06d78ec5774ef2808bbaba50f48cfccc68a999d (diff) | |
download | FreeBSD-src-df56a86d0b7f179d8ede8eefa4e0d094a63352c1.zip FreeBSD-src-df56a86d0b7f179d8ede8eefa4e0d094a63352c1.tar.gz |
Keep style consistent.
Submitted by: Bruce Evans <bde@freefall.freebsd.org>
Diffstat (limited to 'usr.bin/yacc/output.c')
-rw-r--r-- | usr.bin/yacc/output.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/yacc/output.c b/usr.bin/yacc/output.c index b2a51cb..cc893bb 100644 --- a/usr.bin/yacc/output.c +++ b/usr.bin/yacc/output.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: output.c,v 1.7 1997/02/22 19:58:00 peter Exp $ + * $Id: output.c,v 1.8 1997/04/28 03:36:12 steve Exp $ */ #ifndef lint @@ -697,7 +697,8 @@ output_base() { register int i, j; - fprintf(output_file, "const short %ssindex[] = {%39d,", symbol_prefix, base[0]); + fprintf(output_file, "const short %ssindex[] = {%39d,", symbol_prefix, + base[0]); j = 10; for (i = 1; i < nstates; i++) @@ -945,9 +946,8 @@ output_debug() ++outline; fprintf(code_file, "#define YYFINAL %d\n", final_state); outline += 3; - fprintf(code_file, "#ifndef YYDEBUG\n#define YYDEBUG %d\n" - "#elif YYDEBUG\n#include <stdio.h>\n#endif\n", - tflag); + fprintf(code_file, "#ifndef YYDEBUG\n#define YYDEBUG %d\n", tflag); + fprintf(code_file, "#elif YYDEBUG\n#include <stdio.h>\n#endif\n"); if (rflag) fprintf(output_file, "#ifndef YYDEBUG\n#define YYDEBUG %d\n#endif\n", tflag); @@ -971,8 +971,8 @@ output_debug() symnam[0] = "end-of-file"; if (!rflag) ++outline; - fprintf(output_file, "#if YYDEBUG\n" - "const char * const %sname[] = {", symbol_prefix); + fprintf(output_file, "#if YYDEBUG\n"); + fprintf(output_file, "const char * const %sname[] = {", symbol_prefix); j = 80; for (i = 0; i <= max; ++i) { |