viewing paste Unknown #6553 | C

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
        do
            {
            register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
            if ( yy_accept[yy_current_state] )
                {
                yyg->yy_last_accepting_state = yy_current_state;
                yyg->yy_last_accepting_cpos = yy_cp;
                }
            printf("scan:%d, %d, %d, %d, %d, %d, %d\n",*yy_cp,YY_SC_TO_UI(*yy_cp), yy_ec[YY_SC_TO_UI(*yy_cp)],yy_current_state,yy_c,yy_base[yy_current_state] + yy_c,yy_chk[yy_base[yy_current_state] + yy_c]);
            while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
                {
                yy_current_state = (int) yy_def[yy_current_state];
                if ( yy_current_state >= 103 )
                    yy_c = yy_meta[(unsigned int) yy_c];
                }
            yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
            ++yy_cp;
            }
        while ( yy_base[yy_current_state] != 204 );
 
Viewed 740 times, submitted by Guest.