diff options
author | Florian Westphal <fw@strlen.de> | 2018-08-29 11:37:39 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-08-29 23:53:48 +0200 |
commit | 92029c1282958aad13eb8602c67b73caf2a08a09 (patch) | |
tree | bff7a62d56ba4fb33d3a44adcbfac1d3b726f95c /src/osf.c | |
parent | 176d9ad8c351cff9f0c21da5b5f2848e4c77b249 (diff) |
src: osf: add json support
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/osf.c')
-rw-r--r-- | src/osf.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3,6 +3,7 @@ #include <utils.h> #include <string.h> #include <osf.h> +#include <json.h> static void osf_expr_print(const struct expr *expr, struct output_ctx *octx) { @@ -18,6 +19,7 @@ static const struct expr_ops osf_expr_ops = { .name = "osf", .print = osf_expr_print, .clone = osf_expr_clone, + .json = osf_expr_json, }; struct expr *osf_expr_alloc(const struct location *loc) |