Mercurial > vim
comparison src/regexp.c @ 26436:ef0c07cbf53f v8.2.3749
patch 8.2.3749: error messages are everywhere
Commit: https://github.com/vim/vim/commit/12f3c1b77fb39dc338304d5484cdbc99da27389a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 5 21:46:34 2021 +0000
patch 8.2.3749: error messages are everywhere
Problem: Error messages are everywhere.
Solution: Move more error messages to errors.h and adjust the names.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 Dec 2021 23:00:06 +0100 |
parents | a2e6da79274d |
children | 28745eec1dda |
comparison
equal
deleted
inserted
replaced
26435:8860c02d96a8 | 26436:ef0c07cbf53f |
---|---|
72 #define MAX_LIMIT (32767L << 16L) | 72 #define MAX_LIMIT (32767L << 16L) |
73 | 73 |
74 static char_u e_missingbracket[] = N_("E769: Missing ] after %s["); | 74 static char_u e_missingbracket[] = N_("E769: Missing ] after %s["); |
75 static char_u e_reverse_range[] = N_("E944: Reverse range in character class"); | 75 static char_u e_reverse_range[] = N_("E944: Reverse range in character class"); |
76 static char_u e_large_class[] = N_("E945: Range too large in character class"); | 76 static char_u e_large_class[] = N_("E945: Range too large in character class"); |
77 #ifdef FEAT_SYN_HL | |
78 static char_u e_z_not_allowed[] = N_("E66: \\z( not allowed here"); | |
79 static char_u e_z1_not_allowed[] = N_("E67: \\z1 - \\z9 not allowed here"); | |
80 #endif | |
81 static char_u e_missing_sb[] = N_("E69: Missing ] after %s%%["); | |
82 static char_u e_empty_sb[] = N_("E70: Empty %s%%[]"); | |
83 static char_u e_recursive[] = N_("E956: Cannot use pattern recursively"); | 77 static char_u e_recursive[] = N_("E956: Cannot use pattern recursively"); |
84 | 78 |
85 #define NOT_MULTI 0 | 79 #define NOT_MULTI 0 |
86 #define MULTI_ONE 1 | 80 #define MULTI_ONE 1 |
87 #define MULTI_MULT 2 | 81 #define MULTI_MULT 2 |