Mercurial > vim
diff src/vim9type.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 | d751e924cc29 |
children | 72e6073a2822 |
line wrap: on
line diff
--- a/src/vim9type.c +++ b/src/vim9type.c @@ -985,14 +985,8 @@ parse_type(char_u **arg, garray_T *type_ case 'f': if (len == 5 && STRNCMP(*arg, "float", len) == 0) { -#ifdef FEAT_FLOAT *arg += len; return &t_float; -#else - if (give_error) - emsg(_(e_this_vim_is_not_compiled_with_float_support)); - return NULL; -#endif } if (len == 4 && STRNCMP(*arg, "func", len) == 0) {