|
|
|
@ -135,6 +135,7 @@ Precedence *loadPrec(int *tmax, int *tlog)
|
|
|
|
|
exit(1);
|
|
|
|
|
}
|
|
|
|
|
(*tlog)++;
|
|
|
|
|
precSuccStr = readFromFile(prec);
|
|
|
|
|
while(!feof(prec))
|
|
|
|
|
{
|
|
|
|
|
if(*tlog==*tmax)
|
|
|
|
@ -148,7 +149,6 @@ Precedence *loadPrec(int *tmax, int *tlog)
|
|
|
|
|
}
|
|
|
|
|
tabP = s;
|
|
|
|
|
}
|
|
|
|
|
precSuccStr = readFromFile(prec);
|
|
|
|
|
while (precSuccStr[index] != '\t')
|
|
|
|
|
index++;
|
|
|
|
|
|
|
|
|
@ -162,6 +162,8 @@ Precedence *loadPrec(int *tmax, int *tlog)
|
|
|
|
|
free(precSuccStr);
|
|
|
|
|
free(precStr);
|
|
|
|
|
|
|
|
|
|
precSuccStr = readFromFile(prec);
|
|
|
|
|
|
|
|
|
|
(*tlog)++;
|
|
|
|
|
}
|
|
|
|
|
fclose(prec);
|
|
|
|
|