From: Bram Moolenaar Date: Sun, 8 Aug 2021 13:51:10 +0000 (+0200) Subject: patch 8.2.3316: float test fails X-Git-Tag: v8.2.3316 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80a070c36125662556232ab6e83da373e22953d8;p=vim patch 8.2.3316: float test fails Problem: Float test fails. Solution: Add missing change. --- diff --git a/src/evalfunc.c b/src/evalfunc.c index 95ae211ee..efda01fd0 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -1972,7 +1972,7 @@ static funcentry_T global_functions[] = ret_list_number, f_srand}, {"state", 0, 1, FEARG_1, arg1_string, ret_string, f_state}, - {"str2float", 1, 1, FEARG_1, arg1_string, + {"str2float", 1, 2, FEARG_1, arg2_string_bool, ret_float, FLOAT_FUNC(f_str2float)}, {"str2list", 1, 2, FEARG_1, arg2_string_bool, ret_list_number, f_str2list}, diff --git a/src/version.c b/src/version.c index 5a5f69b18..3e209fe27 100644 --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3316, /**/ 3315, /**/