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 442eaff..accb6cf 100644
--- a/src/json.c
+++ b/src/json.c
@@ -406,6 +406,7 @@
}
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 e9d5c19..25ba3b9 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1160,
+/**/
1159,
/**/
1158,