commit | d82a47dd0493ee976aa3f15ecdc9aea7da6ad5bf | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Jan 05 20:24:39 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jan 05 20:24:39 2022 +0000 |
tree | 604109254c7057942fce5c1af26fdd1bc36c066f | |
parent | bb8cac56d9c398a2b546d9c81c15e8c3d8fd811e [diff] [blame] |
patch 8.2.4012: error messages are spread out Problem: Error messages are spread out. Solution: Move the last error messages to errors.h.
diff --git a/src/syntax.c b/src/syntax.c index 36f3510..f4d7f1d 100644 --- a/src/syntax.c +++ b/src/syntax.c
@@ -4889,8 +4889,8 @@ { if (p[2] != NUL) { - semsg(_("E890: trailing char after ']': %s]%s"), - kw, &p[2]); + semsg(_(e_trailing_char_after_rsb_str_str), + kw, &p[2]); goto error; } kw = p + 1; // skip over the "]"