parser/preprocessed/SqlLexer_gen.cpp
/** Switch to a different input buffer.
 * @param new_buffer The new input buffer.
 * @param yyscanner The scanner object.
 */
Switch to a different input buffer.
@param new_buffer The new input buffer.
@param yyscanner The scanner object.
Switch to a different input buffer . @param new_buffer The new input buffer . @param yyscanner The scanner object .
void quickstep_yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer , yyscan_t yyscanner)
{
    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
	quickstep_yyensure_buffer_stack (yyscanner);
	if ( YY_CURRENT_BUFFER == new_buffer )
		return;
	if ( YY_CURRENT_BUFFER )
		{
		*yyg->yy_c_buf_p = yyg->yy_hold_char;
		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
		}
	YY_CURRENT_BUFFER_LVALUE = new_buffer;
	quickstep_yy_load_buffer_state(yyscanner );
	yyg->yy_did_buffer_switch_on_eof = 1;
}
void quickstep_yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer , yyscan_t yyscanner ) { struct yyguts_t * yyg = ( struct yyguts_t * ) yyscanner ; quickstep_yyensure_buffer_stack ( yyscanner ) ; if ( YY_CURRENT_BUFFER == new_buffer ) return ; if ( YY_CURRENT_BUFFER ) { * yyg -> yy_c_buf_p = yyg -> yy_hold_char ; YY_CURRENT_BUFFER_LVALUE -> yy_buf_pos = yyg -> yy_c_buf_p ; YY_CURRENT_BUFFER_LVALUE -> yy_n_chars = yyg -> yy_n_chars ; } YY_CURRENT_BUFFER_LVALUE = new_buffer ; quickstep_yy_load_buffer_state ( yyscanner ) ; yyg -> yy_did_buffer_switch_on_eof = 1 ; }
Switch to a different input buffer.
Switch to a different input buffer .
/* TODO. We should be able to replace this entire function body
	 * with
	 *		quickstep_yypop_buffer_state();
	 *		quickstep_yypush_buffer_state(new_buffer);
     */ /* Flush out information for old buffer. */ /* We don't actually know whether we did this switch during
	 * EOF (quickstep_yywrap()) processing, but the only time this flag
	 * is looked at is after quickstep_yywrap() is called, so it's safe
	 * to go ahead and always set it.
	 */