comparison src/autocmd.c @ 27752:c1d1639b52dd v8.2.4402

patch 8.2.4402: missing parenthesis may cause unexpected problems Commit: https://github.com/vim/vim/commit/ae6f1d8b14c2f63811ee83ef14e32086fb3e9b83 Author: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Wed Feb 16 19:24:07 2022 +0000 patch 8.2.4402: missing parenthesis may cause unexpected problems Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. (closes https://github.com/vim/vim/issues/9788)
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Feb 2022 20:30:03 +0100
parents 8736d8b0a0bc
children be693de40634
comparison
equal deleted inserted replaced
27751:c9330d10419b 27752:c1d1639b52dd
215 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 215 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
216 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 216 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
217 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL 217 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
218 }; 218 };
219 219
220 #define AUGROUP_DEFAULT -1 // default autocmd group 220 #define AUGROUP_DEFAULT (-1) // default autocmd group
221 #define AUGROUP_ERROR -2 // erroneous autocmd group 221 #define AUGROUP_ERROR (-2) // erroneous autocmd group
222 #define AUGROUP_ALL -3 // all autocmd groups 222 #define AUGROUP_ALL (-3) // all autocmd groups
223 223
224 /* 224 /*
225 * struct used to keep status while executing autocommands for an event. 225 * struct used to keep status while executing autocommands for an event.
226 */ 226 */
227 struct AutoPatCmd_S 227 struct AutoPatCmd_S