aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/regexp_defs.h
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-09-06 20:38:26 +0200
committerGitHub <noreply@github.com>2022-09-06 20:38:26 +0200
commit74a8b5982a27cdccc6505343a9feeba1b3e74e31 (patch)
tree5e85d41e4115977863908fbcded226169b02ebd8 /src/nvim/regexp_defs.h
parent707edfc9e6a1745f268d1a9184183da521dc86b8 (diff)
parent73207cae611a1efb8cd17139e8228772daeb9866 (diff)
downloadrneovim-74a8b5982a27cdccc6505343a9feeba1b3e74e31.tar.gz
rneovim-74a8b5982a27cdccc6505343a9feeba1b3e74e31.tar.bz2
rneovim-74a8b5982a27cdccc6505343a9feeba1b3e74e31.zip
Merge pull request #20031 from dundargoc/refactor/char_u/8
refactor: replace char_u with char 8: remove `vim_strsave`
Diffstat (limited to 'src/nvim/regexp_defs.h')
-rw-r--r--src/nvim/regexp_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/regexp_defs.h b/src/nvim/regexp_defs.h
index b313dfe877..5d7175b89a 100644
--- a/src/nvim/regexp_defs.h
+++ b/src/nvim/regexp_defs.h
@@ -127,7 +127,7 @@ typedef struct {
int has_zend; // pattern contains \ze
int has_backref; // pattern contains \1 .. \9
int reghasz;
- char_u *pattern;
+ char *pattern;
int nsubexp; // number of ()
int nstate;
nfa_state_T state[1]; // actually longer..