Mercurial > vim
changeset 19814:e7bbf6cadc9e v8.2.0464
patch 8.2.0464: typos and other small problems
Commit: https://github.com/vim/vim/commit/2d9d409ad4fab1ae7ceaecc0ef0e9b511d868374
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 27 20:52:45 2020 +0100
patch 8.2.0464: typos and other small problems
Problem: Typos and other small problems.
Solution: Fix the typos. Add missing file to distribution.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 Mar 2020 21:00:06 +0100 |
parents | 350e1d3131d8 |
children | e841a4cf5fee |
files | src/evalfunc.c src/globals.h src/version.c |
diffstat | 3 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -280,13 +280,11 @@ ret_number(int argcount UNUSED, type_T * { return &t_number; } -#ifdef FEAT_FLOAT static type_T * ret_float(int argcount UNUSED, type_T **argtypes UNUSED) { return &t_float; } -#endif static type_T * ret_string(int argcount UNUSED, type_T **argtypes UNUSED) { @@ -336,7 +334,6 @@ ret_partial_void(int argcount UNUSED, ty { return &t_partial_void; } -#ifdef FEAT_JOB_CHANNEL static type_T * ret_channel(int argcount UNUSED, type_T **argtypes UNUSED) { @@ -347,7 +344,6 @@ ret_job(int argcount UNUSED, type_T **ar { return &t_job; } -#endif static type_T *ret_f_function(int argcount, type_T **argtypes);
--- a/src/globals.h +++ b/src/globals.h @@ -384,9 +384,7 @@ EXTERN type_T t_void INIT4(VAR_VOID, 0, EXTERN type_T t_bool INIT4(VAR_BOOL, 0, NULL, NULL); EXTERN type_T t_special INIT4(VAR_SPECIAL, 0, NULL, NULL); EXTERN type_T t_number INIT4(VAR_NUMBER, 0, NULL, NULL); -# ifdef FEAT_FLOAT EXTERN type_T t_float INIT4(VAR_FLOAT, 0, NULL, NULL); -# endif EXTERN type_T t_string INIT4(VAR_STRING, 0, NULL, NULL); EXTERN type_T t_blob INIT4(VAR_BLOB, 0, NULL, NULL); EXTERN type_T t_job INIT4(VAR_JOB, 0, NULL, NULL);