Mercurial > vim
comparison src/quickfix.c @ 21461:4dfd00f481fb v8.2.1281
patch 8.2.1281: the "trailing characters" error can be hard to understand
Commit: https://github.com/vim/vim/commit/2d06bfde29bd3a62fc85823d2aa719ef943bd319
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 23 17:16:18 2020 +0200
patch 8.2.1281: the "trailing characters" error can be hard to understand
Problem: The "trailing characters" error can be hard to understand.
Solution: Add the trailing characters to the message.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 23 Jul 2020 17:30:03 +0200 |
parents | 2c40e60017a8 |
children | 0843f244e547 |
comparison
equal
deleted
inserted
replaced
21460:280fe8be34a2 | 21461:4dfd00f481fb |
---|---|
3577 ++arg; | 3577 ++arg; |
3578 plus = TRUE; | 3578 plus = TRUE; |
3579 } | 3579 } |
3580 if (!get_list_range(&arg, &idx1, &idx2) || *arg != NUL) | 3580 if (!get_list_range(&arg, &idx1, &idx2) || *arg != NUL) |
3581 { | 3581 { |
3582 emsg(_(e_trailing)); | 3582 semsg(_(e_trailing_arg), arg); |
3583 return; | 3583 return; |
3584 } | 3584 } |
3585 qfl = qf_get_curlist(qi); | 3585 qfl = qf_get_curlist(qi); |
3586 if (plus) | 3586 if (plus) |
3587 { | 3587 { |