* Fetch last-recorded parenthesis nesting depth from topmost stack entry. * Will return -1 if no stack or it was never saved. */
| 169 | * Will return -1 if no stack or it was never saved. |
| 170 | */ |
| 171 | int |
| 172 | conditional_stack_get_paren_depth(ConditionalStack cstack) |
| 173 | { |
| 174 | if (conditional_stack_empty(cstack)) |
| 175 | return -1; |
| 176 | return cstack->head->paren_depth; |
| 177 | } |
no test coverage detected