mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.1160
Problem: No error for jsondecode('"'). Solution: Give an error message for missing double quote.
This commit is contained in:
@@ -406,6 +406,7 @@ json_decode_string(js_read_T *reader, typval_T *res)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
EMSG(_(e_invarg));
|
||||||
res->v_type = VAR_SPECIAL;
|
res->v_type = VAR_SPECIAL;
|
||||||
res->vval.v_number = VVAL_NONE;
|
res->vval.v_number = VVAL_NONE;
|
||||||
}
|
}
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1160,
|
||||||
/**/
|
/**/
|
||||||
1159,
|
1159,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user