diff options
author | Florian Westphal <fw@strlen.de> | 2021-06-02 20:38:46 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2021-06-02 23:46:11 +0200 |
commit | 5c2c6b09286048b39d51964391ef2aecfd247512 (patch) | |
tree | 03295d9dc27ec95a40a8ceb1012e69c356058732 /include/json.h | |
parent | 4359cb82833a6907f9ee9803be270db89ceaf758 (diff) |
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 <fw@strlen.de>
Diffstat (limited to 'include/json.h')
-rw-r--r-- | include/json.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |