MCPcopy Create free account
hub / github.com/Lienol/openwrt / expr_trans_compare

Function expr_trans_compare

scripts/config/expr.c:922–985  ·  view source on GitHub ↗

* Inserts explicit comparisons of type 'type' to symbol 'sym' into the * expression 'e'. * * Examples transformations for type == E_UNEQUAL, sym == &symbol_no: * * A -> A!=n * !A -> A=n * A && B -> !(A=n || B=n) * A || B -> !(A=n && B=n) * A && (B || C) -> !(A=n || (B=n && C=n)) * * Allocates and returns a new expression. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

menu_finalizeFunction · 0.85

Calls 5

expr_alloc_symbolFunction · 0.85
expr_alloc_oneFunction · 0.85
expr_alloc_twoFunction · 0.85
expr_copyFunction · 0.85
expr_alloc_compFunction · 0.85

Tested by

no test coverage detected