Skip to content

Commit

Permalink
patch 7.4.1160
Browse files Browse the repository at this point in the history
Problem:    No error for jsondecode('"').
Solution:   Give an error message for missing double quote.
  • Loading branch information
brammool committed Jan 23, 2016
1 parent e240c2d commit bd4593f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/json.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1160,
/**/
1159,
/**/
Expand Down

0 comments on commit bd4593f

Please sign in to comment.