Mercurial > vim
comparison src/syntax.c @ 26966:ac75c145f0a9 v8.2.4012
patch 8.2.4012: error messages are spread out
Commit: https://github.com/vim/vim/commit/d82a47dd0493ee976aa3f15ecdc9aea7da6ad5bf
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 5 20:24:39 2022 +0000
patch 8.2.4012: error messages are spread out
Problem: Error messages are spread out.
Solution: Move the last error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 05 Jan 2022 21:30:04 +0100 |
parents | 85866e069c24 |
children | c9474ae175f4 |
comparison
equal
deleted
inserted
replaced
26965:76601978e211 | 26966:ac75c145f0a9 |
---|---|
4887 } | 4887 } |
4888 if (p[1] == ']') | 4888 if (p[1] == ']') |
4889 { | 4889 { |
4890 if (p[2] != NUL) | 4890 if (p[2] != NUL) |
4891 { | 4891 { |
4892 semsg(_("E890: trailing char after ']': %s]%s"), | 4892 semsg(_(e_trailing_char_after_rsb_str_str), |
4893 kw, &p[2]); | 4893 kw, &p[2]); |
4894 goto error; | 4894 goto error; |
4895 } | 4895 } |
4896 kw = p + 1; // skip over the "]" | 4896 kw = p + 1; // skip over the "]" |
4897 break; | 4897 break; |
4898 } | 4898 } |