diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-07-20 21:07:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-20 21:07:36 +0200 |
commit | e29a27f6f8eef8f00d3c2d4cd9811d81cf3026b3 (patch) | |
tree | eb8bd787e936db02a1617fb033aed2e224b3bbd3 /src/regexp_nfa.c | |
parent | 9fa5dabedc4ed5af85773413e91c2fdbe4cb9f0a (diff) | |
download | vim-git-e29a27f6f8eef8f00d3c2d4cd9811d81cf3026b3.tar.gz |
patch 8.2.3190: error messages are spread outv8.2.3190
Problem: Error messages are spread out.
Solution: Move error messages to errors.h and give them a clear name.
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 db629def7..dac312528 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -1527,7 +1527,7 @@ nfa_regatom(void) // Generated as "\%(pattern\)". if (reg_prev_sub == NULL) { - emsg(_(e_nopresub)); + emsg(_(e_no_previous_substitute_regular_expression)); return FAIL; } for (lp = reg_prev_sub; *lp != NUL; MB_CPTR_ADV(lp)) @@ -7356,7 +7356,7 @@ nfa_regexec_both( // Be paranoid... if (prog == NULL || line == NULL) { - iemsg(_(e_null)); + iemsg(_(e_null_argument)); goto theend; } |