summaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/json.c b/src/json.c
index 442eaff2c..accb6cf85 100644
--- a/src/json.c
+++ b/src/json.c
@@ -406,6 +406,7 @@ json_decode_string(js_read_T *reader, typval_T *res)
}
else
{
+ EMSG(_(e_invarg));
res->v_type = VAR_SPECIAL;
res->vval.v_number = VVAL_NONE;
}