patch 9.1.1280: trailing additional semicolon in get_matches_in_str()
Commit:
https://github.com/vim/vim/commit/ba7376678885a62fe0d5d0afa7fdb7dae01086ee
Author: Satoru Kitaguchi <[email protected]>
Date: Sun Apr 6 16:04:59 2025 +0200
patch 9.1.1280: trailing additional semicolon in get_matches_in_str()
Problem: trailing additional semicolon in get_matches_in_str()
(Hirohito Higashi)
Solution: remove it (Satoru Kitaguchi)
closes: #17066
Co-authored-by: Hirohito Higashi <[email protected]>
Signed-off-by: Satoru Kitaguchi <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/evalfunc.c b/src/evalfunc.c
index f2c69999a..2aa516dc4 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -9164,7 +9164,7 @@ get_matches_in_str(
if (d == NULL)
return FAIL;
if (list_append_dict(mlist, d) == FAIL)
- return FAIL;;
+ return FAIL;
if (dict_add_number(d, matchbuf ? "lnum" : "idx", idx) == FAIL)
return FAIL;
diff --git a/src/version.c b/src/version.c
index eba6725de..50743e051 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1280,
/**/
1279,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1u1QmF-0045zs-19%40256bit.org.