To: vim_dev@googlegroups.com Subject: Patch 8.2.4808 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4808 Problem: Unused item in engine struct. Solution: Remove "expr". Add comment with tags. Files: src/regexp.h *** ../vim-8.2.4807/src/regexp.h 2022-03-27 20:04:16.025188554 +0100 --- src/regexp.h 2022-04-23 10:31:59.401873624 +0100 *************** *** 166,176 **** struct regengine { regprog_T *(*regcomp)(char_u*, int); void (*regfree)(regprog_T *); int (*regexec_nl)(regmatch_T *, char_u *, colnr_T, int); long (*regexec_multi)(regmmatch_T *, win_T *, buf_T *, linenr_T, colnr_T, proftime_T *, int *); ! char_u *expr; }; #endif // _REGEXP_H --- 166,180 ---- struct regengine { + // bt_regcomp or nfa_regcomp regprog_T *(*regcomp)(char_u*, int); + // bt_regfree or nfa_regfree void (*regfree)(regprog_T *); + // bt_regexec_nl or nfa_regexec_nl int (*regexec_nl)(regmatch_T *, char_u *, colnr_T, int); + // bt_regexec_mult or nfa_regexec_mult long (*regexec_multi)(regmmatch_T *, win_T *, buf_T *, linenr_T, colnr_T, proftime_T *, int *); ! //char_u *expr; }; #endif // _REGEXP_H *** ../vim-8.2.4807/src/version.c 2022-04-22 22:45:47.036948588 +0100 --- src/version.c 2022-04-23 10:40:54.924771177 +0100 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 4808, /**/ -- Change is inevitable, except from a vending machine. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///