Parser outputs some stats and fixed error is pseudo.r

This commit is contained in:
bruce
1987-07-28 11:22:59 +00:00
parent 5f0fc58f5d
commit dfa4f3f011
4 changed files with 15 additions and 13 deletions

View File

@@ -23,6 +23,7 @@ static char rcsidp1[] = "$Header$";
struct state *states[MAXSTATES];
struct action *actions[MAXSTATES];
struct mnems patterns[MAXSTATES];
int numpatterns = 0; /* Number of patterns */
int higheststate = 0; /* Highest state yet allocated */
struct idf *ops; /* Chained list of all ops */
int maxpattern = 0;
@@ -59,6 +60,7 @@ optimization
':'
action(&repllist)
{
numpatterns++;
addaction(startline,currentstate,restrictions,
finaltest,repllist);
}