Mercurial > vim
diff src/regexp_nfa.c @ 26883:7f150a4936f2 v8.2.3970
patch 8.2.3970: error messages are spread out
Commit: https://github.com/vim/vim/commit/74409f62790a93daf0965c71da01ff76aa0fa5a5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 15:58:22 2022 +0000
patch 8.2.3970: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Jan 2022 17:00:04 +0100 |
parents | fc859aea8cec |
children | b34ddbca305c |
line wrap: on
line diff
--- 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);