diff options
author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
---|---|---|
committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
commit | 7799f52a32f592a7efe259bc3411ba52d13db797 (patch) | |
tree | 350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/yacc | |
parent | 5ebc7e6281887681c3a348a5a4c902e262ccd656 (diff) | |
download | src-7799f52a32f592a7efe259bc3411ba52d13db797.tar.gz src-7799f52a32f592a7efe259bc3411ba52d13db797.zip |
Remove trailing whitespace.
Notes
Notes:
svn path=/head/; revision=8874
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 bf9aec846b71..5007e50ac09b 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 42ead14514d5..b0f94b4d9fed 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 f8fd1c5f7369..67c755a95c4d 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 3b724d3b84f9..0a46f2996478 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 c9794edc03da..5431bbf2517b 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]); |