Commit: patch 9.1.1280: trailing additional semicolon in get_matches_in_str()

0 views
Skip to first unread message

Christian Brabandt

unread,
Apr 6, 2025, 10:15:19 AM4/6/25
to vim...@googlegroups.com
patch 9.1.1280: trailing additional semicolon in get_matches_in_str()

Commit: https://github.com/vim/vim/commit/ba7376678885a62fe0d5d0afa7fdb7dae01086ee
Author: Satoru Kitaguchi <rule.the.fate...@gmail.com>
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 <h.eas...@gmail.com>
Signed-off-by: Satoru Kitaguchi <rule.the.fate...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

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,
/**/
Reply all
Reply to author
Forward
0 new messages