diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2022-12-16 17:33:52 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2022-12-16 17:33:52 +0100 |
commit | 614d382621fa0b9d19287b63edb39b637409c581 (patch) | |
tree | 790a90309b938193330618648f2a50d470927cdc /src/nvim/regexp_bt.c | |
parent | b55ccb43240c931d1a52a85b02920521a838e0a7 (diff) | |
download | rneovim-614d382621fa0b9d19287b63edb39b637409c581.tar.gz rneovim-614d382621fa0b9d19287b63edb39b637409c581.tar.bz2 rneovim-614d382621fa0b9d19287b63edb39b637409c581.zip |
refactor: rename mch_msg => os_msg
Diffstat (limited to 'src/nvim/regexp_bt.c')
-rw-r--r-- | src/nvim/regexp_bt.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nvim/regexp_bt.c b/src/nvim/regexp_bt.c index 19b89bef74..4e2fa54c26 100644 --- a/src/nvim/regexp_bt.c +++ b/src/nvim/regexp_bt.c @@ -3539,8 +3539,8 @@ static bool regmatch(char_u *scan, proftime_T *tm, int *timed_out) #ifdef REGEXP_DEBUG if (scan != NULL && regnarrate) { - mch_errmsg((char *)regprop(scan)); - mch_errmsg("(\n"); + os_errmsg((char *)regprop(scan)); + os_errmsg("(\n"); } #endif @@ -3566,18 +3566,18 @@ static bool regmatch(char_u *scan, proftime_T *tm, int *timed_out) #ifdef REGEXP_DEBUG if (regnarrate) { - mch_errmsg((char *)regprop(scan)); - mch_errmsg("...\n"); + os_errmsg((char *)regprop(scan)); + os_errmsg("...\n"); if (re_extmatch_in != NULL) { int i; - mch_errmsg(_("External submatches:\n")); + os_errmsg(_("External submatches:\n")); for (i = 0; i < NSUBEXP; i++) { - mch_errmsg(" \""); + os_errmsg(" \""); if (re_extmatch_in->matches[i] != NULL) { - mch_errmsg((char *)re_extmatch_in->matches[i]); + os_errmsg((char *)re_extmatch_in->matches[i]); } - mch_errmsg("\"\n"); + os_errmsg("\"\n"); } } } |