diff options
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 c22864df10..8262640db8 100644 --- a/src/json.c +++ b/src/json.c @@ -1086,7 +1086,7 @@ json_decode_all(js_read_T *reader, typval_T *res, int options) json_skip_white(reader); if (reader->js_buf[reader->js_used] != NUL) { - emsg(_(e_trailing)); + semsg(_(e_trailing_arg), reader->js_buf + reader->js_used); return FAIL; } return OK; |