summaryrefslogtreecommitdiffstats
path: root/usr.bin/vgrind
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
commita14d555c873398b14776ca4f2c33f9c69617afb9 (patch)
tree350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/vgrind
parentf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff)
downloadFreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip
FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/vgrind')
-rw-r--r--usr.bin/vgrind/regexp.c16
-rw-r--r--usr.bin/vgrind/vfontedpr.c18
2 files changed, 17 insertions, 17 deletions
diff --git a/usr.bin/vgrind/regexp.c b/usr.bin/vgrind/regexp.c
index 978af65..2022edb 100644
--- a/usr.bin/vgrind/regexp.c
+++ b/usr.bin/vgrind/regexp.c
@@ -135,7 +135,7 @@ STRNCMP(s1, s2, len)
#define SNEXT(A) (A+2+*(A+1)) /* character following the string */
/*
- * bit flags in the descriptor
+ * bit flags in the descriptor
*/
#define OPT 1
#define STR 2
@@ -196,7 +196,7 @@ expconv()
*cs = STR;
SCNT(cs) = 1;
ccre += 2;
- } else
+ } else
SCNT(cs)++;
*ccre++ = c;
break;
@@ -209,7 +209,7 @@ expconv()
if (acs != NIL && acs != cs) {
do {
temp = OCNT(acs);
- OCNT(acs) = ccre - acs;
+ OCNT(acs) = ccre - acs;
acs -= temp;
} while (temp != 0);
acs = NIL;
@@ -221,7 +221,7 @@ expconv()
break;
}
break;
-
+
/* just put the symbol in */
case '^':
case '$':
@@ -339,7 +339,7 @@ expconv()
* The irregular expression must be translated to internal form
* prior to calling this routine
*
- * The value returned is the pointer to the first non \a
+ * The value returned is the pointer to the first non \a
* character matched.
*/
@@ -501,7 +501,7 @@ expmatch (s, re, mstring)
case 'e':
if (_escaped)
return(NIL);
- cs = MNEXT(cs);
+ cs = MNEXT(cs);
break;
/* match any number of tabs and spaces */
@@ -513,12 +513,12 @@ expmatch (s, re, mstring)
/* match, be happy */
matched = 1;
- cs = MNEXT(cs);
+ cs = MNEXT(cs);
} else if (*s == '\n' || *s == '\0') {
/* match, be happy */
matched = 1;
- cs = MNEXT(cs);
+ cs = MNEXT(cs);
} else if (*cs & ALT) {
/* try the next part */
diff --git a/usr.bin/vgrind/vfontedpr.c b/usr.bin/vgrind/vfontedpr.c
index 6e9d3fe..523e415 100644
--- a/usr.bin/vgrind/vfontedpr.c
+++ b/usr.bin/vgrind/vfontedpr.c
@@ -98,7 +98,7 @@ static char *defsfile[2] = { _PATH_VGRINDEFS, 0 };
/* name of language definitions file */
static int margin;
static int plstack[PSMAX]; /* the procedure nesting level stack */
-static char pname[BUFSIZ+1];
+static char pname[BUFSIZ+1];
static boolean prccont; /* continue last procedure */
static int psptr; /* the stack index of the current procedure */
static char pstack[PSMAX][PNAMELEN+1]; /* the procedure name stack */
@@ -228,12 +228,12 @@ main(argc, argv)
if (i == -1) {
fprintf (stderr, "no entry for language %s\n", language);
exit (0);
- } else if (i == -2) { fprintf(stderr,
+ } else if (i == -2) { fprintf(stderr,
"cannot find vgrindefs file %s\n", defsfile[0]);
exit (0);
- } else if (i == -3) { fprintf(stderr,
- "potential reference loop detected in vgrindefs file %s\n",
- defsfile[0]);
+ } else if (i == -3) { fprintf(stderr,
+ "potential reference loop detected in vgrindefs file %s\n",
+ defsfile[0]);
exit(0);
}
if (cgetustr(defs, "kw", &cp) == -1)
@@ -373,7 +373,7 @@ putScp(os)
pstack[psptr][PNAMELEN] = NULL;
plstack[psptr] = blklevel;
}
- }
+ }
skip:
do {
/* check for string, comment, blockstart, etc */
@@ -539,7 +539,7 @@ putKcp (start, end, force)
while (start <= end) {
if (idx) {
if (*start == ' ' || *start == '\t') {
- if (xfld == 0)
+ if (xfld == 0)
printf("\001");
printf("\t");
xfld = 1;
@@ -559,12 +559,12 @@ putKcp (start, end, force)
}
if (!nokeyw && !force)
- if ((*start == '#' || isidchr(*start))
+ if ((*start == '#' || isidchr(*start))
&& (start == _start || !isidchr(start[-1]))) {
i = iskw(start);
if (i > 0) {
ps("\\*(+K");
- do
+ do
putcp(*start++);
while (--i > 0);
ps("\\*(-K");
OpenPOWER on IntegriCloud