Version that implements a C_XXX to O_XXX library interface.

This commit is contained in:
bruce
1987-01-21 14:27:04 +00:00
parent a46973cfa7
commit 22def1157d
8 changed files with 553 additions and 637 deletions

View File

@@ -6,8 +6,7 @@ static char rcsid[] = "$Header$";
#define UPDATEWORST(backups) if(backups>mostbackups) mostbackups = backups;
findworst(state,repl)
int state;
findworst(repl)
struct mnems repl;
{
/*
@@ -31,7 +30,7 @@ findworst(state,repl)
int s;
int mostbackups = 0;
if(n==0) {
fprint(ofile,"\t\tbackup(%d);\n", longestpattern-1);
fprint(ofile,"\t\t\tOO_backup(%d);\n", longestpattern-1);
return;
}
for(s=1;s<=higheststate;s++) {
@@ -58,7 +57,7 @@ findworst(state,repl)
}
}
if(mostbackups)
fprint(ofile,"\t\tbackup(%d);\n",mostbackups);
fprint(ofile,"\t\t\tOO_backup(%d);\n",mostbackups);
}
findfail(state)