remove unnecessary int casts

This commit is contained in:
rsc 2005-12-29 20:57:29 +00:00
parent 586abfa4f5
commit 0ace33a415

View file

@ -56,7 +56,7 @@ yylook(void){
}
# endif
yyr = yyt;
if ( (int)yyt > (int)yycrank){
if (yyt > yycrank){
yyt = yyr + yych;
if (yyt <= yytop && yyt->verify+yysvec == yystate){
if(yyt->advance+yysvec == YYLERR) /* error transitions */
@ -66,7 +66,7 @@ yylook(void){
}
}
# ifdef YYOPTIM
else if((int)yyt < (int)yycrank) { /* r < yycrank */
else if(yyt < yycrank) { /* r < yycrank */
yyt = yyr = yycrank+(yycrank-yyt);
# ifdef LEXDEBUG
if(debug)fprintf(yyout,"compressed state\n");