parser/preprocessed/SqlLexer_gen.cpp
/* quickstep_yylex_init_extra has the same functionality as quickstep_yylex_init, but follows the
 * convention of taking the scanner as the last argument. Note however, that
 * this is a *pointer* to a scanner, as it will be allocated by this call (and
 * is the reason, too, why this function also must handle its own declaration).
 * The user defined value in the first argument will be available to quickstep_yyalloc in
 * the yyextra field.
 */
quickstep_yylex_init_extra has the same functionality as quickstep_yylex_init, but follows the
convention of taking the scanner as the last argument. Note however, that
this is a *pointer* to a scanner, as it will be allocated by this call (and
is the reason, too, why this function also must handle its own declaration).
The user defined value in the first argument will be available to quickstep_yyalloc in
the yyextra field.
quickstep_yylex_init_extra has the same functionality as quickstep_yylex_init but follows the convention of taking the scanner as the last argument . Note however that this is a * pointer * to a scanner as it will be allocated by this call ( and is the reason too why this function also must handle its own declaration ) . The user defined value in the first argument will be available to quickstep_yyalloc in the yyextra field .
int quickstep_yylex_init_extra(YY_EXTRA_TYPE yy_user_defined,yyscan_t* ptr_yy_globals )
{
    struct yyguts_t dummy_yyguts;
    quickstep_yyset_extra (yy_user_defined, &dummy_yyguts);
    if (ptr_yy_globals == NULL){
        errno = EINVAL;
        return 1;
    }
    *ptr_yy_globals = (yyscan_t) quickstep_yyalloc ( sizeof( struct yyguts_t ), &dummy_yyguts );
    if (*ptr_yy_globals == NULL){
        errno = ENOMEM;
        return 1;
    }
    memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));
    quickstep_yyset_extra (yy_user_defined, *ptr_yy_globals);
    return yy_init_globals ( *ptr_yy_globals );
}
int quickstep_yylex_init_extra ( YY_EXTRA_TYPE yy_user_defined , yyscan_t * ptr_yy_globals ) { struct yyguts_t dummy_yyguts ; quickstep_yyset_extra ( yy_user_defined , & dummy_yyguts ) ; if ( ptr_yy_globals == NULL ) { errno = EINVAL ; return 1 ; } * ptr_yy_globals = ( yyscan_t ) quickstep_yyalloc ( sizeof ( struct yyguts_t ) , & dummy_yyguts ) ; if ( * ptr_yy_globals == NULL ) { errno = ENOMEM ; return 1 ; } memset ( * ptr_yy_globals , 0x00 , sizeof ( struct yyguts_t ) ) ; quickstep_yyset_extra ( yy_user_defined , * ptr_yy_globals ) ; return yy_init_globals ( * ptr_yy_globals ) ; }
quickstep_yylex_init_extra has the same functionality as quickstep_yylex_init, but follows the
 convention of taking the scanner as the last argument.
quickstep_yylex_init_extra has the same functionality as quickstep_yylex_init but follows the convention of taking the scanner as the last argument .
/* By setting to 0xAA, we expose bugs in
    yy_init_globals. Leave at 0x00 for releases. */