Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
This commit is contained in:
parent
77a0a5b519
commit
fa325e9b42
1021 changed files with 5688 additions and 6193 deletions
|
|
@ -13,7 +13,7 @@
|
|||
* Deroff follows .so and .nx commands, removes contents of macro
|
||||
* definitions, equations (both .EQ ... .EN and $...$),
|
||||
* Tbl command sequences, and Troff backslash vconstructions.
|
||||
*
|
||||
*
|
||||
* All input is through the C macro; the most recently read character is in c.
|
||||
*/
|
||||
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
#define C fC()
|
||||
#define C1 fC1()
|
||||
|
||||
#define SKIP while(C != '\n')
|
||||
#define SKIP while(C != '\n')
|
||||
#define SKIP1 while(C1 != '\n')
|
||||
#define SKIP_TO_COM SKIP;\
|
||||
SKIP;\
|
||||
|
|
@ -211,7 +211,7 @@ skeqn(void)
|
|||
c = C1;
|
||||
else if(c == '"')
|
||||
while(C1 != '"')
|
||||
if(c == '\\')
|
||||
if(c == '\\')
|
||||
C1;
|
||||
if (msflag)
|
||||
eqnflag = 1;
|
||||
|
|
@ -257,9 +257,9 @@ getfname(void)
|
|||
Rune r;
|
||||
Dir *dir;
|
||||
struct chain
|
||||
{
|
||||
struct chain* nextp;
|
||||
char* datap;
|
||||
{
|
||||
struct chain* nextp;
|
||||
char* datap;
|
||||
} *q;
|
||||
|
||||
static struct chain *namechain= 0;
|
||||
|
|
@ -470,7 +470,7 @@ comx:
|
|||
else
|
||||
if(filesp==files && c1=='T' && (c2=='S' || c2=='C' || c2=='&')) {
|
||||
if(msflag)
|
||||
stbl();
|
||||
stbl();
|
||||
else
|
||||
tbl();
|
||||
}
|
||||
|
|
@ -512,11 +512,11 @@ comx:
|
|||
SKIP;
|
||||
else
|
||||
if(c1=='h' && c2=='w')
|
||||
SKIP;
|
||||
SKIP;
|
||||
else
|
||||
if(msflag && c1 == 'T' && c2 == 'L') {
|
||||
SKIP_TO_COM;
|
||||
goto comx;
|
||||
goto comx;
|
||||
}
|
||||
else
|
||||
if(msflag && c1=='N' && c2 == 'R')
|
||||
|
|
@ -526,17 +526,17 @@ comx:
|
|||
if(mac==MM)SKIP;
|
||||
else {
|
||||
SKIP_TO_COM;
|
||||
goto comx;
|
||||
goto comx;
|
||||
}
|
||||
} else
|
||||
if(msflag && c1=='F' && c2=='S') {
|
||||
SKIP_TO_COM;
|
||||
goto comx;
|
||||
goto comx;
|
||||
}
|
||||
else
|
||||
if(msflag && (c1=='S' || c1=='N') && c2=='H') {
|
||||
SKIP_TO_COM;
|
||||
goto comx;
|
||||
goto comx;
|
||||
} else
|
||||
if(c1 == 'U' && c2 == 'X') {
|
||||
if(wordflag)
|
||||
|
|
@ -546,7 +546,7 @@ comx:
|
|||
} else
|
||||
if(msflag && c1=='O' && c2=='K') {
|
||||
SKIP_TO_COM;
|
||||
goto comx;
|
||||
goto comx;
|
||||
} else
|
||||
if(msflag && c1=='N' && c2=='D')
|
||||
SKIP;
|
||||
|
|
@ -565,11 +565,11 @@ comx:
|
|||
if(!msflag && c1=='P' && c2=='S') {
|
||||
inpic();
|
||||
} else
|
||||
if(msflag && (c1=='D' || c1=='N' || c1=='K'|| c1=='P') && c2=='S') {
|
||||
sdis(c1, 'E');
|
||||
if(msflag && (c1=='D' || c1=='N' || c1=='K'|| c1=='P') && c2=='S') {
|
||||
sdis(c1, 'E');
|
||||
} else
|
||||
if(msflag && (c1 == 'K' && c2 == 'F')) {
|
||||
sdis(c1,'E');
|
||||
if(msflag && (c1 == 'K' && c2 == 'F')) {
|
||||
sdis(c1,'E');
|
||||
} else
|
||||
if(msflag && c1=='n' && c2=='f')
|
||||
sdis('f','i');
|
||||
|
|
@ -601,8 +601,8 @@ void
|
|||
macro(void)
|
||||
{
|
||||
if(msflag) {
|
||||
do {
|
||||
SKIP1;
|
||||
do {
|
||||
SKIP1;
|
||||
} while(C1 != '.' || C1 != '.' || C1 == '.');
|
||||
if(c != '\n')
|
||||
SKIP;
|
||||
|
|
@ -660,7 +660,7 @@ sdis(char a1, char a2)
|
|||
SKIP1;
|
||||
} else
|
||||
if(a1 == 'D' && c1 == 'E' && c2 == 'Q') {
|
||||
eqn();
|
||||
eqn();
|
||||
eqnf = 0;
|
||||
} else
|
||||
if(a1 == 'f') {
|
||||
|
|
@ -720,8 +720,8 @@ eqn(void)
|
|||
Bputc(&bout, 'x');
|
||||
Bputc(&bout, ' ');
|
||||
if(last) {
|
||||
Bputc(&bout, last);
|
||||
Bputc(&bout, '\n');
|
||||
Bputc(&bout, last);
|
||||
Bputc(&bout, '\n');
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
|
@ -744,7 +744,7 @@ eqn(void)
|
|||
dflg = 0;
|
||||
}
|
||||
if(c != '\n')
|
||||
while(C1 != '\n') {
|
||||
while(C1 != '\n') {
|
||||
if(chars[c] == PUNCT)
|
||||
last = c;
|
||||
else
|
||||
|
|
@ -762,7 +762,7 @@ backsl(void)
|
|||
{
|
||||
int bdelim;
|
||||
|
||||
sw:
|
||||
sw:
|
||||
switch(C1)
|
||||
{
|
||||
case '"':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue