* Change the state of the topmost branch. * Returns false if there was no branch state to set. */
| 103 | * Returns false if there was no branch state to set. |
| 104 | */ |
| 105 | bool |
| 106 | conditional_stack_poke(ConditionalStack cstack, ifState new_state) |
| 107 | { |
| 108 | if (conditional_stack_empty(cstack)) |
| 109 | return false; |
| 110 | cstack->head->if_state = new_state; |
| 111 | return true; |
| 112 | } |
| 113 | |
| 114 | /* |
| 115 | * True if there are no active \if-blocks. |
no test coverage detected