diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-01-08 20:50:52 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-01-08 20:50:52 +0100 |
commit | de33011ec623fd562419dede6bf465b5b9881a20 (patch) | |
tree | 0ae82bcbe54c907d4893f36c94ed43624aea351d /src/regexp_nfa.c | |
parent | c695cec4698b41d7b9555efdd47dda9b1945d3ae (diff) | |
download | vim-git-de33011ec623fd562419dede6bf465b5b9881a20.tar.gz |
patch 8.0.0160: EMSG() is sometimes used where it should be IEMSG()v8.0.0160
Problem: EMSG() is sometimes used for internal errors.
Solution: Change them to IEMSG(). (Dominique Pelle) And a few more.
Diffstat (limited to 'src/regexp_nfa.c')
-rw-r--r-- | src/regexp_nfa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index fcca81828..919dadcb0 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -1359,7 +1359,7 @@ nfa_regatom(void) rc_did_emsg = TRUE; return FAIL; } - EMSGN("INTERNAL: Unknown character class char: %ld", c); + IEMSGN("INTERNAL: Unknown character class char: %ld", c); return FAIL; } #ifdef FEAT_MBYTE @@ -4925,7 +4925,7 @@ check_char_class(int class, int c) default: /* should not be here :P */ - EMSGN(_(e_ill_char_class), class); + IEMSGN(_(e_ill_char_class), class); return FAIL; } return FAIL; @@ -6688,7 +6688,7 @@ nfa_regmatch( #ifdef DEBUG if (c < 0) - EMSGN("INTERNAL: Negative state char: %ld", c); + IEMSGN("INTERNAL: Negative state char: %ld", c); #endif result = (c == curc); @@ -7216,7 +7216,7 @@ nfa_regcomp(char_u *expr, int re_flags) { /* TODO: only give this error for debugging? */ if (post_ptr >= post_end) - EMSGN("Internal error: estimated max number of states insufficient: %ld", post_end - post_start); + IEMSGN("Internal error: estimated max number of states insufficient: %ld", post_end - post_start); goto fail; /* Cascaded (syntax?) error */ } |