Thomas Haller <thaller@xxxxxxxxxx> wrote: > --- a/src/expression.c > +++ b/src/expression.c > @@ -321,6 +321,7 @@ static const struct expr_ops symbol_expr_ops = { > .type = EXPR_SYMBOL, > .name = "symbol", > .print = symbol_expr_print, > + .json = NULL, /* expr_print_json() must never be called. */ I'd suggest to add a json callback that BUG()s instead, with a comment explaining that these do not exist anymore after the initial eval stage. (symbols will be resolved to numeric value for example).