diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
commit | a14d555c873398b14776ca4f2c33f9c69617afb9 (patch) | |
tree | 350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/yacc | |
parent | f3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff) | |
download | FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/yacc')
-rw-r--r-- | usr.bin/yacc/lalr.c | 2 | ||||
-rw-r--r-- | usr.bin/yacc/mkpar.c | 4 | ||||
-rw-r--r-- | usr.bin/yacc/output.c | 2 | ||||
-rw-r--r-- | usr.bin/yacc/reader.c | 2 | ||||
-rw-r--r-- | usr.bin/yacc/test/ftp.tab.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/yacc/lalr.c b/usr.bin/yacc/lalr.c index bf9aec8..5007e50 100644 --- a/usr.bin/yacc/lalr.c +++ b/usr.bin/yacc/lalr.c @@ -346,7 +346,7 @@ initialize_F() if (nullable[symbol]) edge[nedges++] = map_goto(stateno, symbol); } - + if (nedges) { reads[i] = rp = NEW2(nedges + 1, short); diff --git a/usr.bin/yacc/mkpar.c b/usr.bin/yacc/mkpar.c index 42ead14..b0f94b4 100644 --- a/usr.bin/yacc/mkpar.c +++ b/usr.bin/yacc/mkpar.c @@ -341,7 +341,7 @@ int stateno; register action *p; count = 0; - ruleno = 0; + ruleno = 0; for (p = parser[stateno]; p; p = p->next) { if (p->action_code == SHIFT && p->suppressed == 0) @@ -370,7 +370,7 @@ defreds() for (i = 0; i < nstates; i++) defred[i] = sole_reduction(i); } - + free_action_row(p) register action *p; { diff --git a/usr.bin/yacc/output.c b/usr.bin/yacc/output.c index f8fd1c5..67c755a 100644 --- a/usr.bin/yacc/output.c +++ b/usr.bin/yacc/output.c @@ -145,7 +145,7 @@ output_rule_data() register int i; register int j; - + fprintf(output_file, "short %slhs[] = {%42d,", symbol_prefix, symbol_value[start_symbol]); diff --git a/usr.bin/yacc/reader.c b/usr.bin/yacc/reader.c index 3b724d3..0a46f29 100644 --- a/usr.bin/yacc/reader.c +++ b/usr.bin/yacc/reader.c @@ -704,7 +704,7 @@ get_literal() n = cinc; s = MALLOC(n); if (s == 0) no_space(); - + for (i = 0; i < n; ++i) s[i] = cache[i]; diff --git a/usr.bin/yacc/test/ftp.tab.c b/usr.bin/yacc/test/ftp.tab.c index c9794ed..5431bbf 100644 --- a/usr.bin/yacc/test/ftp.tab.c +++ b/usr.bin/yacc/test/ftp.tab.c @@ -1196,7 +1196,7 @@ break; case 17: #line 222 "ftp.y" { - if (yyvsp[-3] && yyvsp[-1] != NULL) + if (yyvsp[-3] && yyvsp[-1] != NULL) send_file_list((char *) yyvsp[-1]); if (yyvsp[-1] != NULL) free((char *) yyvsp[-1]); |