diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-01 15:58:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-01 15:58:22 +0000 |
commit | 74409f62790a93daf0965c71da01ff76aa0fa5a5 (patch) | |
tree | ece55c806dc6fe451d24af66008ae1444d81d73d /src/regexp_nfa.c | |
parent | 56200eed62e59ad831f6564dcafe346e6f97ac20 (diff) | |
download | vim-git-74409f62790a93daf0965c71da01ff76aa0fa5a5.tar.gz |
patch 8.2.3970: error messages are spread outv8.2.3970
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Diffstat (limited to 'src/regexp_nfa.c')
-rw-r--r-- | src/regexp_nfa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index 0a07edb5a..313073c92 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -4660,7 +4660,7 @@ skip_add: if ((long)(newsize >> 10) >= p_mmp) { - emsg(_(e_maxmempat)); + emsg(_(e_pattern_uses_more_memory_than_maxmempattern)); --depth; return NULL; } @@ -5002,7 +5002,7 @@ addstate_here( if ((long)(newsize >> 10) >= p_mmp) { - emsg(_(e_maxmempat)); + emsg(_(e_pattern_uses_more_memory_than_maxmempattern)); return NULL; } newl = alloc(newsize); |