mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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
|
||||
{
|
||||
EMSG(_(e_invarg));
|
||||
res->v_type = VAR_SPECIAL;
|
||||
res->vval.v_number = VVAL_NONE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user