comparison src/dict.c @ 30310:029c59bf78f1 v9.0.0491

patch 9.0.0491: no good reason to build without the float feature Commit: https://github.com/vim/vim/commit/73e28dcc6125f616cf1f2d56443d22428a79e434 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 17 21:08:33 2022 +0100 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".
author Bram Moolenaar <Bram@vim.org>
date Sat, 17 Sep 2022 22:15:05 +0200
parents d58afefecd6c
children b3de17181c19
comparison
equal deleted inserted replaced
30309:4ba3d27b5357 30310:029c59bf78f1
982 clear_tv(&tvkey); 982 clear_tv(&tvkey);
983 goto failret; 983 goto failret;
984 } 984 }
985 if (evaluate) 985 if (evaluate)
986 { 986 {
987 #ifdef FEAT_FLOAT
988 if (tvkey.v_type == VAR_FLOAT) 987 if (tvkey.v_type == VAR_FLOAT)
989 { 988 {
990 tvkey.vval.v_string = typval_tostring(&tvkey, TRUE); 989 tvkey.vval.v_string = typval_tostring(&tvkey, TRUE);
991 tvkey.v_type = VAR_STRING; 990 tvkey.v_type = VAR_STRING;
992 } 991 }
993 #endif
994 key = tv_get_string_buf_chk(&tvkey, buf); 992 key = tv_get_string_buf_chk(&tvkey, buf);
995 if (key == NULL) 993 if (key == NULL)
996 { 994 {
997 // "key" is NULL when tv_get_string_buf_chk() gave an errmsg 995 // "key" is NULL when tv_get_string_buf_chk() gave an errmsg
998 clear_tv(&tvkey); 996 clear_tv(&tvkey);