commit | 1d423ef75fc8bce2edfd2aab61cc9beaa63e31aa | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jan 02 21:26:16 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jan 02 21:26:16 2022 +0000 |
tree | 6db703ecd2dc317aa69c9c03f3130002a857e4af | |
parent | b09feaa86ecc53b9b953710082496951776dc5c6 [diff] [blame] |
patch 8.2.3987: error messages are spread out Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
diff --git a/src/regexp.c b/src/regexp.c index fdcd6d1..a30ff8b 100644 --- a/src/regexp.c +++ b/src/regexp.c
@@ -1050,7 +1050,7 @@ if (*regparse == '\\') regparse++; // Allow either \{...} or \{...\} if (*regparse != '}') - EMSG2_RET_FAIL(_("E554: Syntax error in %s{...}"), + EMSG2_RET_FAIL(_(e_syntax_error_in_str_curlies), reg_magic == MAGIC_ALL); /*