services/script/yacc/lexer.cpp
/* yy_get_previous_state - get the state just before the EOB char was reached */
get the state just before the EOB char was reached
get the state just before the EOB char was reached
yy_state_type yyFlexLexer::yy_get_previous_state()
{
    yy_state_type yy_current_state;
    char *yy_cp;
    yy_current_state = (yy_start);
    for (yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp) {
        YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
        if (yy_accept[yy_current_state]) {
            (yy_last_accepting_state) = yy_current_state;
            (yy_last_accepting_cpos) = yy_cp;
        }
        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 >= 90) {
                yy_c = yy_meta[yy_c];
            }
        }
        yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
    }
    return yy_current_state;
}
yy_state_type yyFlexLexer :: yy_get_previous_state ( ) { yy_state_type yy_current_state ; char * yy_cp ; yy_current_state = ( yy_start ) ; for ( yy_cp = ( yytext_ptr ) + YY_MORE_ADJ ; yy_cp < ( yy_c_buf_p ) ; ++ yy_cp ) { YY_CHAR yy_c = ( * yy_cp ? yy_ec [ YY_SC_TO_UI ( * yy_cp ) ] : 1 ) ; if ( yy_accept [ yy_current_state ] ) { ( yy_last_accepting_state ) = yy_current_state ; ( yy_last_accepting_cpos ) = yy_cp ; } 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 >= 90 ) { yy_c = yy_meta [ yy_c ] ; } } yy_current_state = yy_nxt [ yy_base [ yy_current_state ] + yy_c ] ; } return yy_current_state ; }
yy_get_previous_state - get the state just before the EOB char was reached
yy_get_previous_state - get the state just before the EOB char was reached