diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-04 21:30:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-04 21:30:47 +0000 |
commit | a6f7929e62c19a6a2418a016b4c59b83eb1887ac (patch) | |
tree | dff539628404695bd64e68602c8f7f62d9dd12f7 /src/regexp_nfa.c | |
parent | 548911ee145cdd166f20e46aa720d1631e66f64e (diff) | |
download | vim-git-a6f7929e62c19a6a2418a016b4c59b83eb1887ac.tar.gz |
patch 8.2.4005: error messages are spread outv8.2.4005
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/regexp_nfa.c')
-rw-r--r-- | src/regexp_nfa.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index 313073c92..aa752d19f 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -1638,9 +1638,8 @@ nfa_regatom(void) } if (nr < 0 || nr > INT_MAX) - EMSG2_RET_FAIL( - _("E678: Invalid character after %s%%[dxouU]"), - reg_magic == MAGIC_ALL); + EMSG2_RET_FAIL(_(e_invalid_character_after_str_2), + reg_magic == MAGIC_ALL); // A NUL is stored in the text as NL // TODO: what if a composing character follows? EMIT(nr == 0 ? 0x0a : nr); |