commit 0ace33a41539dedfee1bd73e124fd9ca574f43b1 from: rsc date: Thu Dec 29 20:57:29 2005 UTC remove unnecessary int casts commit - 586abfa4f5a00e695b2a7fbbeacaee8d5cefc7e0 commit + 0ace33a41539dedfee1bd73e124fd9ca574f43b1 blob - c01a557d8020d92183c75dd6fbdcf7a0e8de996a blob + 772bd7dc89eea69f22551278d77f1137ee1aef05 --- lib/lex.ncform +++ lib/lex.ncform @@ -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");