remove unnecessary int casts
This commit is contained in:
parent
586abfa4f5
commit
0ace33a415
1 changed files with 2 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ yylook(void){
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
yyr = yyt;
|
yyr = yyt;
|
||||||
if ( (int)yyt > (int)yycrank){
|
if (yyt > yycrank){
|
||||||
yyt = yyr + yych;
|
yyt = yyr + yych;
|
||||||
if (yyt <= yytop && yyt->verify+yysvec == yystate){
|
if (yyt <= yytop && yyt->verify+yysvec == yystate){
|
||||||
if(yyt->advance+yysvec == YYLERR) /* error transitions */
|
if(yyt->advance+yysvec == YYLERR) /* error transitions */
|
||||||
|
|
@ -66,7 +66,7 @@ yylook(void){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# ifdef YYOPTIM
|
# ifdef YYOPTIM
|
||||||
else if((int)yyt < (int)yycrank) { /* r < yycrank */
|
else if(yyt < yycrank) { /* r < yycrank */
|
||||||
yyt = yyr = yycrank+(yycrank-yyt);
|
yyt = yyr = yycrank+(yycrank-yyt);
|
||||||
# ifdef LEXDEBUG
|
# ifdef LEXDEBUG
|
||||||
if(debug)fprintf(yyout,"compressed state\n");
|
if(debug)fprintf(yyout,"compressed state\n");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue