services/script/yacc/lexer.cpp
/* Initializes or reinitializes a buffer.
 * This function is sometimes called more than once on the same buffer,
 * such as during a yyrestart()or at EOF.
 */
Initializes or reinitializes a buffer.
This function is sometimes called more than once on the same buffer,
such as during a yyrestart()or at EOF.
Initializes or reinitializes a buffer . This function is sometimes called more than once on the same buffer such as during a yyrestart () or at EOF .
void yyFlexLexer::yy_init_buffer(YY_BUFFER_STATE b, std::istream& file)
{
    int oerrno = errno;
    yy_flush_buffer(b);
    b->yy_input_file = file.rdbuf();
    b->yy_fill_buffer = 1;
    if (b != YY_CURRENT_BUFFER) {
        b->yy_bs_lineno = 1;
        b->yy_bs_column = 0;
    }
    b->yy_is_interactive = 0;
    errno = oerrno;
}
void yyFlexLexer :: yy_init_buffer ( YY_BUFFER_STATE b , std :: istream & file ) { int oerrno = errno ; yy_flush_buffer ( b ) ; b -> yy_input_file = file . rdbuf ( ) ; b -> yy_fill_buffer = 1 ; if ( b != YY_CURRENT_BUFFER ) { b -> yy_bs_lineno = 1 ; b -> yy_bs_column = 0 ; } b -> yy_is_interactive = 0 ; errno = oerrno ; }
Initializes or reinitializes a buffer.
Initializes or reinitializes a buffer .
/* If b is the current buffer, then yy_init_buffer was _probably_
     * called from yyrestart()or through yy_get_next_buffer.
     * In that case, we don't want to reset the lineno or column.
     */