summaryrefslogtreecommitdiffhomepage
path: root/eval.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-08-25 20:38:36 +0200
committerJo-Philipp Wich <jo@mein.io>2020-08-25 20:38:36 +0200
commit7272a2d7ee0876e4e92fa352ce6f240c040b7f50 (patch)
tree837292f93d6974c613f9c722fbb128f760131e81 /eval.c
parent58450742953e8782c546a42ab541d601c6abc856 (diff)
treewide: add proper null value handling
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 33759cb..68fda6e 100644
--- a/eval.c
+++ b/eval.c
@@ -1139,6 +1139,7 @@ ut_execute_op(struct ut_state *state, struct ut_opcode *op)
case T_DOUBLE:
case T_BOOL:
case T_STRING:
+ case T_NULL:
return json_object_get(op->val);
case T_THIS: