mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
vim-patch:8.2.4808: unused item in engine struct
Problem: Unused item in engine struct.
Solution: Remove "expr". Add comment with tags.
33d3ce640c
This commit is contained in:
@@ -157,12 +157,15 @@ struct reg_extmatch {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct regengine {
|
struct regengine {
|
||||||
|
/// bt_regcomp or nfa_regcomp
|
||||||
regprog_T *(*regcomp)(char_u *, int);
|
regprog_T *(*regcomp)(char_u *, int);
|
||||||
|
/// bt_regfree or nfa_regfree
|
||||||
void (*regfree)(regprog_T *);
|
void (*regfree)(regprog_T *);
|
||||||
|
/// bt_regexec_nl or nfa_regexec_nl
|
||||||
int (*regexec_nl)(regmatch_T *, char_u *, colnr_T, bool);
|
int (*regexec_nl)(regmatch_T *, char_u *, colnr_T, bool);
|
||||||
long (*regexec_multi)(regmmatch_T *, win_T *, buf_T *, linenr_T, colnr_T,
|
/// bt_regexec_mult or nfa_regexec_mult
|
||||||
proftime_T *, int *);
|
long (*regexec_multi)(regmmatch_T *, win_T *, buf_T *, linenr_T, colnr_T, proftime_T *, int *);
|
||||||
char_u *expr;
|
// char_u *expr;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // NVIM_REGEXP_DEFS_H
|
#endif // NVIM_REGEXP_DEFS_H
|
||||||
|
Reference in New Issue
Block a user