parser/preprocessed/SqlLexer_gen.cpp
/* quickstep_yylex_init is special because it creates the scanner itself, so it is
 * the ONLY reentrant function that doesn't take the scanner as the last argument.
 * That's why we explicitly handle the declaration, instead of using our macros.
 */
quickstep_yylex_init is special because it creates the scanner itself, so it is
the ONLY reentrant function that doesn't take the scanner as the last argument.
That's why we explicitly handle the declaration, instead of using our macros.
quickstep_yylex_init is special because it creates the scanner itself so it is the ONLY reentrant function that doesn ' t take the scanner as the last argument . That ' s why we explicitly handle the declaration instead of using our macros .
int quickstep_yylex_init(yyscan_t* ptr_yy_globals)
{
    if (ptr_yy_globals == NULL){
        errno = EINVAL;
        return 1;
    }
    *ptr_yy_globals = (yyscan_t) quickstep_yyalloc ( sizeof( struct yyguts_t ), NULL );
    if (*ptr_yy_globals == NULL){
        errno = ENOMEM;
        return 1;
    }
    memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));
    return yy_init_globals ( *ptr_yy_globals );
}
int quickstep_yylex_init ( yyscan_t * ptr_yy_globals ) { if ( ptr_yy_globals == NULL ) { errno = EINVAL ; return 1 ; } * ptr_yy_globals = ( yyscan_t ) quickstep_yyalloc ( sizeof ( struct yyguts_t ) , NULL ) ; if ( * ptr_yy_globals == NULL ) { errno = ENOMEM ; return 1 ; } memset ( * ptr_yy_globals , 0x00 , sizeof ( struct yyguts_t ) ) ; return yy_init_globals ( * ptr_yy_globals ) ; }
quickstep_yylex_init is special because it creates the scanner itself, so it is
 the ONLY reentrant function that doesn't take the scanner as the last argument.
quickstep_yylex_init is special because it creates the scanner itself so it is the ONLY reentrant function that doesn ' t take the scanner as the last argument .
/* By setting to 0xAA, we expose bugs in yy_init_globals. Leave at 0x00 for releases. */