| 2287 | } |
| 2288 | |
| 2289 | static void yy_push_state (int new_state , yyscan_t yyscanner) |
| 2290 | { |
| 2291 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 2292 | if ( yyg->yy_start_stack_ptr >= yyg->yy_start_stack_depth ) |
| 2293 | { |
| 2294 | yy_size_t new_size; |
| 2295 | |
| 2296 | yyg->yy_start_stack_depth += YY_START_STACK_INCR; |
| 2297 | new_size = yyg->yy_start_stack_depth * sizeof( int ); |
| 2298 | |
| 2299 | if ( ! yyg->yy_start_stack ) |
| 2300 | yyg->yy_start_stack = (int *) ap_expr_yyalloc(new_size ,yyscanner ); |
| 2301 | |
| 2302 | else |
| 2303 | yyg->yy_start_stack = (int *) ap_expr_yyrealloc((void *) yyg->yy_start_stack,new_size ,yyscanner ); |
| 2304 | |
| 2305 | if ( ! yyg->yy_start_stack ) |
| 2306 | YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); |
| 2307 | } |
| 2308 | |
| 2309 | yyg->yy_start_stack[yyg->yy_start_stack_ptr++] = YY_START; |
| 2310 | |
| 2311 | BEGIN(new_state); |
| 2312 | } |
| 2313 | |
| 2314 | static void yy_pop_state (yyscan_t yyscanner) |
| 2315 | { |
no test coverage detected