* True if we should execute commands normally; that is, the current * conditional branch is active, or there is no open \if block. */
| 125 | * conditional branch is active, or there is no open \if block. |
| 126 | */ |
| 127 | bool |
| 128 | conditional_active(ConditionalStack cstack) |
| 129 | { |
| 130 | ifState s = conditional_stack_peek(cstack); |
| 131 | |
| 132 | return s == IFSTATE_NONE || s == IFSTATE_TRUE || s == IFSTATE_ELSE_TRUE; |
| 133 | } |
| 134 | |
| 135 | /* |
| 136 | * Save current query buffer length in topmost stack entry. |
no test coverage detected