A condition whose alias is not bound yet is UNKNOWN; a literal-only LHS * (func condition with no variable arg) has nothing to wait for. */
| 2902 | /* A condition whose alias is not bound yet is UNKNOWN; a literal-only LHS |
| 2903 | * (func condition with no variable arg) has nothing to wait for. */ |
| 2904 | static cyp_partial_t eval_condition_partial(const cbm_condition_t *c, binding_t *b) { |
| 2905 | if (c->variable && !binding_get(b, c->variable) && !binding_get_edge(b, c->variable)) { |
| 2906 | return CYP_PARTIAL_UNKNOWN; |
| 2907 | } |
| 2908 | return eval_condition(c, b) ? CYP_PARTIAL_TRUE : CYP_PARTIAL_FALSE; |
| 2909 | } |
| 2910 | |
| 2911 | static cyp_partial_t partial_xor(cyp_partial_t l, cyp_partial_t r) { |
| 2912 | if (l == CYP_PARTIAL_UNKNOWN || r == CYP_PARTIAL_UNKNOWN) { |
no test coverage detected