diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-01-14 14:36:08 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-01-14 14:36:08 +0100 |
commit | 83381f7129aca00bc2dd24527f160bc6a60d70af (patch) | |
tree | 23fdd9e2ae5d8d6a964d44d827248bc150c374a4 /src/json.c | |
parent | 9be7c04e6cd5b0facedcb56b09a5bcfc339efe03 (diff) |
patch 8.0.0180: error E937 is used twicev8.0.0180
Problem: Error E937 is used both for duplicate key in JSON and for trying
to delete a buffer that is in use.
Solution: Rename the JSON error to E938. (Norio Takagi, closes #1376)
Diffstat (limited to 'src/json.c')
-rw-r--r-- | src/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c index faaeab35cc..a9333cf076 100644 --- a/src/json.c +++ b/src/json.c @@ -936,7 +936,7 @@ item_end: && dict_find(top_item->jd_tv.vval.v_dict, top_item->jd_key, -1) != NULL) { - EMSG2(_("E937: Duplicate key in JSON: \"%s\""), + EMSG2(_("E938: Duplicate key in JSON: \"%s\""), top_item->jd_key); clear_tv(&top_item->jd_key_tv); clear_tv(cur_item); |