Mercurial > vim
changeset 25559:4b07859e1646 v8.2.3316
patch 8.2.3316: float test fails
Commit: https://github.com/vim/vim/commit/80a070c36125662556232ab6e83da373e22953d8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 8 15:51:10 2021 +0200
patch 8.2.3316: float test fails
Problem: Float test fails.
Solution: Add missing change.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 08 Aug 2021 16:00:03 +0200 |
parents | 5a872c10a85c |
children | 143d7ea8f339 |
files | src/evalfunc.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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},