comparison src/regexp_nfa.c @ 31287:fa309d9af73c v9.0.0977

patch 9.0.0977: it is not easy to see what client-server commands are doing Commit: https://github.com/vim/vim/commit/4c5678ff0c376661d4a8183a5a074a1203413b9d Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 30 18:12:19 2022 +0000 patch 9.0.0977: it is not easy to see what client-server commands are doing Problem: It is not easy to see what client-server commands are doing. Solution: Add channel log messages if ch_log() is available. Move the channel logging and make it available with the +eval feature.
author Bram Moolenaar <Bram@vim.org>
date Wed, 30 Nov 2022 19:15:10 +0100
parents 7fb4e244b16e
children fe508e94b73d
comparison
equal deleted inserted replaced
31286:33c4af586833 31287:fa309d9af73c
4248 { 4248 {
4249 if (*timeout_flag) 4249 if (*timeout_flag)
4250 { 4250 {
4251 if (nfa_timed_out != NULL) 4251 if (nfa_timed_out != NULL)
4252 { 4252 {
4253 # ifdef FEAT_JOB_CHANNEL 4253 # ifdef FEAT_EVAL
4254 if (!*nfa_timed_out) 4254 if (!*nfa_timed_out)
4255 ch_log(NULL, "NFA regexp timed out"); 4255 ch_log(NULL, "NFA regexp timed out");
4256 # endif 4256 # endif
4257 *nfa_timed_out = TRUE; 4257 *nfa_timed_out = TRUE;
4258 } 4258 }