summaryrefslogtreecommitdiff
path: root/src/regexp_nfa.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-01 15:58:22 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-01 15:58:22 +0000
commit74409f62790a93daf0965c71da01ff76aa0fa5a5 (patch)
treeece55c806dc6fe451d24af66008ae1444d81d73d /src/regexp_nfa.c
parent56200eed62e59ad831f6564dcafe346e6f97ac20 (diff)
downloadvim-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.c4
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);