summaryrefslogtreecommitdiffstats
path: root/src/proto/search.pro
diff options
context:
space:
mode:
authorRob Pilling <robpilling@gmail.com>2022-12-23 19:06:04 +0000
committerBram Moolenaar <Bram@vim.org>2022-12-23 19:06:04 +0000
commite86190e7c1297da29d0fc2415fdeca5ecae8d2ba (patch)
treeaf6d793030ca6c8c5f785d30b0637b910cb6fde2 /src/proto/search.pro
parentf54cedd6763e7727b4bfaeb34bb7c365a17675eb (diff)
patch 9.0.1092: search error message doesn't show used patternv9.0.1092
Problem: Search error message doesn't show used pattern. Solution: Pass the actually used pattern to where the error message is given. (Rob Pilling, closes #11742)
Diffstat (limited to 'src/proto/search.pro')
-rw-r--r--src/proto/search.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/search.pro b/src/proto/search.pro
index 8fa01da9b9..7a29ff3a03 100644
--- a/src/proto/search.pro
+++ b/src/proto/search.pro
@@ -1,5 +1,5 @@
/* search.c */
-int search_regcomp(char_u *pat, int pat_save, int pat_use, int options, regmmatch_T *regmatch);
+int search_regcomp(char_u *pat, char_u **used_pat, int pat_save, int pat_use, int options, regmmatch_T *regmatch);
char_u *get_search_pat(void);
char_u *reverse_text(char_u *s);
void save_re_pat(int idx, char_u *pat, int magic);