NOT: NOT atom | atom */
| 1249 | |
| 1250 | /* NOT: NOT atom | atom */ |
| 1251 | static cbm_expr_t *parse_not_expr(parser_t *p) { // NOLINT(misc-no-recursion) |
| 1252 | if (match(p, TOK_NOT)) { |
| 1253 | if (!parse_depth_enter(p)) { |
| 1254 | return NULL; |
| 1255 | } |
| 1256 | cbm_expr_t *child = parse_not_expr(p); |
| 1257 | parse_depth_leave(p); |
| 1258 | return child ? expr_not(child) : NULL; |
| 1259 | } |
| 1260 | return parse_atom_expr(p); |
| 1261 | } |
| 1262 | |
| 1263 | /* A chain `a OP b OP c ...` of one associative operator is linked along the |
| 1264 | * RIGHT child: OP(a, OP(b, OP(c, ...))). The chain's length is bounded only by |
no test coverage detected