From 5c2c6b09286048b39d51964391ef2aecfd247512 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Wed, 2 Jun 2021 20:38:46 +0200 Subject: json: catchall element support Treat '*' as catchall element, not as a symbol. Also add missing json test cases for wildcard set support. Signed-off-by: Florian Westphal --- include/json.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/json.h') diff --git a/include/json.h b/include/json.h index dd594bd0..015e3ac7 100644 --- a/include/json.h +++ b/include/json.h @@ -37,6 +37,7 @@ json_t *concat_expr_json(const struct expr *expr, struct output_ctx *octx); json_t *set_expr_json(const struct expr *expr, struct output_ctx *octx); json_t *set_ref_expr_json(const struct expr *expr, struct output_ctx *octx); json_t *set_elem_expr_json(const struct expr *expr, struct output_ctx *octx); +json_t *set_elem_catchall_expr_json(const struct expr *expr, struct output_ctx *octx); json_t *prefix_expr_json(const struct expr *expr, struct output_ctx *octx); json_t *list_expr_json(const struct expr *expr, struct output_ctx *octx); json_t *unary_expr_json(const struct expr *expr, struct output_ctx *octx); -- cgit v1.2.3