diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-08-08 15:51:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-08 15:51:10 +0200 |
commit | 80a070c36125662556232ab6e83da373e22953d8 (patch) | |
tree | 0ea378de9bd3c185771e004541cd3b38c7240844 /src/evalfunc.c | |
parent | 2950065e18649d234b16e60dd0e3d75adeca4513 (diff) |
patch 8.2.3316: float test failsv8.2.3316
Problem: Float test fails.
Solution: Add missing change.
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 95ae211eeb..efda01fd04 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}, |