Removes and deletes the top of the stack, if present. * The next element becomes the new top. * @param yyscanner The scanner object. */
| 2137 | * @param yyscanner The scanner object. |
| 2138 | */ |
| 2139 | void ap_expr_yypop_buffer_state (yyscan_t yyscanner) |
| 2140 | { |
| 2141 | struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; |
| 2142 | if (!YY_CURRENT_BUFFER) |
| 2143 | return; |
| 2144 | |
| 2145 | ap_expr_yy_delete_buffer(YY_CURRENT_BUFFER ,yyscanner); |
| 2146 | YY_CURRENT_BUFFER_LVALUE = NULL; |
| 2147 | if (yyg->yy_buffer_stack_top > 0) |
| 2148 | --yyg->yy_buffer_stack_top; |
| 2149 | |
| 2150 | if (YY_CURRENT_BUFFER) { |
| 2151 | ap_expr_yy_load_buffer_state(yyscanner ); |
| 2152 | yyg->yy_did_buffer_switch_on_eof = 1; |
| 2153 | } |
| 2154 | } |
| 2155 | |
| 2156 | /* Allocates the stack if it does not exist. |
| 2157 | * Guarantees space for at least one push. |
no test coverage detected