Mercurial > vim
comparison src/syntax.c @ 26958:d92e0d85923f v8.2.4008
patch 8.2.4008: error messages are spread out
Commit: https://github.com/vim/vim/commit/677658ae49de31fe2e5b1fa6d93fdfab85a4362e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 5 16:09:06 2022 +0000
patch 8.2.4008: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 05 Jan 2022 17:15:05 +0100 |
parents | d4e61d61afd9 |
children | 85866e069c24 |
comparison
equal
deleted
inserted
replaced
26957:e5b81e2bed22 | 26958:d92e0d85923f |
---|---|
4880 syn_opt_arg.next_list, conceal_char); | 4880 syn_opt_arg.next_list, conceal_char); |
4881 if (p == NULL) | 4881 if (p == NULL) |
4882 break; | 4882 break; |
4883 if (p[1] == NUL) | 4883 if (p[1] == NUL) |
4884 { | 4884 { |
4885 semsg(_("E789: Missing ']': %s"), kw); | 4885 semsg(_(e_error_missing_rsb_str), kw); |
4886 goto error; | 4886 goto error; |
4887 } | 4887 } |
4888 if (p[1] == ']') | 4888 if (p[1] == ']') |
4889 { | 4889 { |
4890 if (p[2] != NUL) | 4890 if (p[2] != NUL) |