Mercurial > vim
comparison src/regexp.c @ 28572:3c7f1b3ae427 v8.2.4810
patch 8.2.4810: missing changes in one file
Commit: https://github.com/vim/vim/commit/56dba60216a1bf72c1de299316f4d4ef19e50ad5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 23 11:03:58 2022 +0100
patch 8.2.4810: missing changes in one file
Problem: Missing changes in one file.
Solution: Also change the struct initializers.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 23 Apr 2022 12:15:03 +0200 |
parents | 82f34ca7b3b7 |
children | bfd8e25fa207 |
comparison
equal
deleted
inserted
replaced
28571:9b622722bad0 | 28572:3c7f1b3ae427 |
---|---|
2533 { | 2533 { |
2534 bt_regcomp, | 2534 bt_regcomp, |
2535 bt_regfree, | 2535 bt_regfree, |
2536 bt_regexec_nl, | 2536 bt_regexec_nl, |
2537 bt_regexec_multi, | 2537 bt_regexec_multi, |
2538 (char_u *)"" | |
2539 }; | 2538 }; |
2540 | 2539 |
2541 #include "regexp_nfa.c" | 2540 #include "regexp_nfa.c" |
2542 | 2541 |
2543 static regengine_T nfa_regengine = | 2542 static regengine_T nfa_regengine = |
2544 { | 2543 { |
2545 nfa_regcomp, | 2544 nfa_regcomp, |
2546 nfa_regfree, | 2545 nfa_regfree, |
2547 nfa_regexec_nl, | 2546 nfa_regexec_nl, |
2548 nfa_regexec_multi, | 2547 nfa_regexec_multi, |
2549 (char_u *)"" | |
2550 }; | 2548 }; |
2551 | 2549 |
2552 // Which regexp engine to use? Needed for vim_regcomp(). | 2550 // Which regexp engine to use? Needed for vim_regcomp(). |
2553 // Must match with 'regexpengine'. | 2551 // Must match with 'regexpengine'. |
2554 static int regexp_engine = 0; | 2552 static int regexp_engine = 0; |