* Fetch last-recorded query buffer length from topmost stack entry. * Will return -1 if no stack or it was never saved. */
| 147 | * Will return -1 if no stack or it was never saved. |
| 148 | */ |
| 149 | int |
| 150 | conditional_stack_get_query_len(ConditionalStack cstack) |
| 151 | { |
| 152 | if (conditional_stack_empty(cstack)) |
| 153 | return -1; |
| 154 | return cstack->head->query_len; |
| 155 | } |
| 156 | |
| 157 | /* |
| 158 | * Save current parenthesis nesting depth in topmost stack entry. |
no test coverage detected