0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 9.0.0491: no good reason to build without the float feature

Problem:    No good reason to build without the float feature.
Solution:   Remove configure check for float and "#ifdef FEAT_FLOAT".
This commit is contained in:
Bram Moolenaar
2022-09-17 21:08:33 +01:00
parent 1c3dd8ddcb
commit 73e28dcc61
74 changed files with 589 additions and 1152 deletions

View File

@@ -686,7 +686,6 @@ func Test_python_function_call()
endfunc
func Test_python_float()
CheckFeature float
let l = [0.0]
py l = vim.bindeval('l')
py l.extend([0.0])
@@ -785,9 +784,7 @@ func Test_python_pyeval()
py v = vim.eval('test_null_function()')
call assert_equal(v:none, pyeval('v'))
if has('float')
call assert_equal(0.0, pyeval('0.0'))
endif
call assert_equal(0.0, pyeval('0.0'))
" Evaluate an invalid values
call AssertException(['let v = pyeval(''"\0"'')'], 'E859:')