From: Bram Moolenaar Date: Sat, 23 Jan 2016 21:51:07 +0000 (+0100) Subject: patch 7.4.1160 X-Git-Tag: v7.4.1160 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd4593ffb170230504500ddedabad3fad1f31291;p=vim patch 7.4.1160 Problem: No error for jsondecode('"'). Solution: Give an error message for missing double quote. --- 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; } diff --git a/src/version.c b/src/version.c index e9d5c1983..25ba3b97d 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1160, /**/ 1159, /**/