comparison src/debugger.c @ 28773:d770568e6c98 v8.2.4911

patch 8.2.4911: the mode #defines are not clearly named Commit: https://github.com/vim/vim/commit/249591057b4840785c50e41dd850efb8a8faf435 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 7 20:01:16 2022 +0100 patch 8.2.4911: the mode #defines are not clearly named Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
author Bram Moolenaar <Bram@vim.org>
date Sat, 07 May 2022 21:15:06 +0200
parents 146817021fc3
children d0241e74bfdb
comparison
equal deleted inserted replaced
28772:7b07ca0bb292 28773:d770568e6c98
86 cmd_silent = FALSE; // display commands 86 cmd_silent = FALSE; // display commands
87 msg_silent = FALSE; // display messages 87 msg_silent = FALSE; // display messages
88 emsg_silent = FALSE; // display error messages 88 emsg_silent = FALSE; // display error messages
89 redir_off = TRUE; // don't redirect debug commands 89 redir_off = TRUE; // don't redirect debug commands
90 90
91 State = NORMAL; 91 State = MODE_NORMAL;
92 debug_mode = TRUE; 92 debug_mode = TRUE;
93 93
94 if (!debug_did_msg) 94 if (!debug_did_msg)
95 msg(_("Entering Debug mode. Type \"cont\" to continue.")); 95 msg(_("Entering Debug mode. Type \"cont\" to continue."));
96 if (debug_oldval != NULL) 96 if (debug_oldval != NULL)